[all-commits] [llvm/llvm-project] 46ca55: [lldb][NFC] Add safe Decl->CompilerDecl conversion...
Raphael Isemann via All-commits
all-commits at lists.llvm.org
Fri Jan 31 00:44:46 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 46ca55f2a2c88609657dff7f49ec54d5a71032d3
https://github.com/llvm/llvm-project/commit/46ca55f2a2c88609657dff7f49ec54d5a71032d3
Author: Raphael Isemann <teemperor at gmail.com>
Date: 2020-01-31 (Fri, 31 Jan 2020)
Changed paths:
M lldb/include/lldb/Symbol/TypeSystemClang.h
M lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp
M lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
M lldb/source/Symbol/TypeSystemClang.cpp
Log Message:
-----------
[lldb][NFC] Add safe Decl->CompilerDecl conversion function TypeSystemClang
This adds a conversion function from clang::Decl to CompilerDecl. It checks
that the TypeSystemClang in the CompilerDecl actually fits to the clang::Decl
AST during creation, thus preventing the creation of CompilerDecl instances with
inconsistent state.
More information about the All-commits
mailing list