aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-06-22 19:56:01 +0000
committerRui Ueyama <ruiu@google.com>2015-06-22 19:56:01 +0000
commit617f5ccb5ce241093e4efc23e71bffcf11d383fc (patch)
treeff428397fa72ef8f31ec0433aff235c56e9cfede /clang/lib/Frontend/CompilerInvocation.cpp
parent80d21cb40dadc9b976a88143d50e0d900cd472a9 (diff)
downloadllvm-617f5ccb5ce241093e4efc23e71bffcf11d383fc.zip
llvm-617f5ccb5ce241093e4efc23e71bffcf11d383fc.tar.gz
llvm-617f5ccb5ce241093e4efc23e71bffcf11d383fc.tar.bz2
COFF: Separate DefinedCOMDAT from DefinedRegular symbol type. NFC.
Before this change, you got to cast a symbol to DefinedRegular and then call isCOMDAT() to determine if a given symbol is a COMDAT symbol. Now you can just use isa<DefinedCOMDAT>(). As to the class definition of DefinedCOMDAT, I could remove duplicate code from DefinedRegular and DefinedCOMDAT by introducing another base class for them, but I chose to not do that to keep the class hierarchy shallow. This amount of code duplication doesn't worth to define a new class. llvm-svn: 240319
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions