diff options
Diffstat (limited to 'contrib/llvm-project/clang/lib/Interpreter/InterpreterUtils.cpp')
-rw-r--r-- | contrib/llvm-project/clang/lib/Interpreter/InterpreterUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm-project/clang/lib/Interpreter/InterpreterUtils.cpp b/contrib/llvm-project/clang/lib/Interpreter/InterpreterUtils.cpp index c19cf6aa3156..45f6322b8461 100644 --- a/contrib/llvm-project/clang/lib/Interpreter/InterpreterUtils.cpp +++ b/contrib/llvm-project/clang/lib/Interpreter/InterpreterUtils.cpp @@ -72,7 +72,7 @@ NamedDecl *LookupNamed(Sema &S, llvm::StringRef Name, const DeclContext *Within) { DeclarationName DName = &S.Context.Idents.get(Name); LookupResult R(S, DName, SourceLocation(), Sema::LookupOrdinaryName, - Sema::ForVisibleRedeclaration); + RedeclarationKind::ForVisibleRedeclaration); R.suppressDiagnostics(); |