Make all 'is in extern "C"' tests use the lexical context.
I was not able to find a case (other than the fix in r181163) where this makes a difference, but it is a more obviously correct API to have. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181165 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/AST/Decl.h 16 additions, 0 deletionsinclude/clang/AST/Decl.h
- include/clang/AST/DeclBase.h 0 additions, 8 deletionsinclude/clang/AST/DeclBase.h
- lib/AST/Decl.cpp 40 additions, 11 deletionslib/AST/Decl.cpp
- lib/AST/DeclBase.cpp 0 additions, 22 deletionslib/AST/DeclBase.cpp
- lib/CodeGen/CodeGenModule.cpp 2 additions, 2 deletionslib/CodeGen/CodeGenModule.cpp
- lib/Sema/SemaDecl.cpp 3 additions, 5 deletionslib/Sema/SemaDecl.cpp
Loading
Please register or sign in to comment