[all-commits] [llvm/llvm-project] 8612e9: [lldb][NFC] Remove GetASTContext call in ClangDecl...
Raphael Isemann via All-commits
all-commits at lists.llvm.org
Sat Dec 28 06:52:13 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 8612e92ed590e615f9f56e4fb86a1fdaf3a39e15
https://github.com/llvm/llvm-project/commit/8612e92ed590e615f9f56e4fb86a1fdaf3a39e15
Author: Raphael Isemann <teemperor at gmail.com>
Date: 2019-12-28 (Sat, 28 Dec 2019)
Changed paths:
M lldb/source/Plugins/ExpressionParser/Clang/ClangDeclVendor.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangDeclVendor.h
M lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.h
Log Message:
-----------
[lldb][NFC] Remove GetASTContext call in ClangDeclVendor
Instead of returning NamedDecls and then calling GetASTContext
to find back the ClangASTContext we used can just implement the
FindDecl variant that returns CompilerDecls (and implement the
other function by throwing away the ClangASTContext part of the
compiler decl).
More information about the All-commits
mailing list