aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2022-02-14 10:19:04 -0800
committerNathan Sidwell <nathan@acm.org>2022-02-15 04:28:45 -0800
commit02093906fa0fd5bacc61b2189ea643c78cd02509 (patch)
tree0a1a4142171f9995eace3dc89d32de772429101c /clang/lib/CodeGen/CodeGenFunction.cpp
parent166713f987b343e65baf25532b3ff48be154c390 (diff)
downloadllvm-02093906fa0fd5bacc61b2189ea643c78cd02509.zip
llvm-02093906fa0fd5bacc61b2189ea643c78cd02509.tar.gz
llvm-02093906fa0fd5bacc61b2189ea643c78cd02509.tar.bz2
[clang][NFC] Remove IgnoreLinkageSpecDecls
The Itanium mangler uses IgnoreLinkageSpecDecls to strip linkage spec contexts. It doesn't do this consistently, but there is no need for it to do it at all. getEffectiveDeclContext never returns a linkage spec, as it either recurses, uses getRedeclContext (which itself removes the specs), or gets the decl context of non-namespace entities. This patch removes the function and all calls to it. For safety I add a couple of asserts to make sure we never get them. Reviewed By: ChuanqiXu Differential Revision: https://reviews.llvm.org/D119748
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions