summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/BackendUtil.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2019-09-04 20:30:00 +0000
committerAaron Ballman <aaron@aaronballman.com>2019-09-04 20:30:00 +0000
commit40e3760472eae18919f4be8906869701db8f8f03 (patch)
treeb1baa20526f6e91d6cd1221f969f2a2ceb37df6c /clang/lib/CodeGen/BackendUtil.cpp
parent41adc374086d69082a1cef48ebea771833564afa (diff)
downloadbcm5719-llvm-40e3760472eae18919f4be8906869701db8f8f03.tar.gz
bcm5719-llvm-40e3760472eae18919f4be8906869701db8f8f03.zip
Generate parent context id from Decl* instead of DeclContext*.
Because of multiple inheritance, a DeclContext pointer does not produce the same pointer representation as a Decl pointer that references the same AST Node. When dumping the parentDeclContextId field of a node, convert the pointer to Decl* first, so the id can be used to find the AST node it references. Patch by Bert Belder. llvm-svn: 370970
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud