diff options
Diffstat (limited to 'lib/Sema/Lookup.h')
| -rw-r--r-- | lib/Sema/Lookup.h | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/lib/Sema/Lookup.h b/lib/Sema/Lookup.h index 6b2694591f529..f310c253ab20d 100644 --- a/lib/Sema/Lookup.h +++ b/lib/Sema/Lookup.h @@ -397,6 +397,12 @@ public:      configure();    } +  /// \brief Change this lookup's redeclaration kind. +  void setRedeclarationKind(Sema::RedeclarationKind RK) { +    Redecl = RK; +    configure(); +  } +    void print(llvm::raw_ostream &);    /// Suppress the diagnostics that would normally fire because of this | 
