diff options
author | Raphael Isemann <teemperor@gmail.com> | 2020-01-31 09:22:25 +0100 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2020-01-31 09:44:24 +0100 |
commit | 46ca55f2a2c88609657dff7f49ec54d5a71032d3 (patch) | |
tree | e42d7910b80d162266624c34fc0411930ed11bf6 /llvm/lib/IR/Module.cpp | |
parent | 48acece15dcf63cb4fee043a4e66ddf3917a359a (diff) | |
download | llvm-46ca55f2a2c88609657dff7f49ec54d5a71032d3.zip llvm-46ca55f2a2c88609657dff7f49ec54d5a71032d3.tar.gz llvm-46ca55f2a2c88609657dff7f49ec54d5a71032d3.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions