aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-02-17 21:13:34 +0000
committerZachary Turner <zturner@google.com>2016-02-17 21:13:34 +0000
commit0cdb055f2329c49b3a114deeef6891e0afa8b21b (patch)
tree6449f32cfc7098a157791b6ddfe82df455f86b5c /clang/lib/Frontend/CompilerInvocation.cpp
parentda292bd4bdf9201887df527c5843d807e0ec1f1a (diff)
downloadllvm-0cdb055f2329c49b3a114deeef6891e0afa8b21b.zip
llvm-0cdb055f2329c49b3a114deeef6891e0afa8b21b.tar.gz
llvm-0cdb055f2329c49b3a114deeef6891e0afa8b21b.tar.bz2
[DebugInfoPDB] Raise getSymIndexId() up to PDBSymbol
Every symbol, no matter what it's tag is, supports the method getSymIndexId(). However, this was being forwarded on every concrete symbol type, so if someone had a PDBSymbol that they didn't know what type it was (or simply didn't have an instance of the concrete symbol type), they would not be able to get its index id. This patch moves the method up to PDBSymbol, so that no matter what type of object you have, you can always get its id. llvm-svn: 261153
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions