aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfoImpls.cpp
diff options
context:
space:
mode:
authorEdwin Vane <edwin.vane@intel.com>2013-02-19 17:14:34 +0000
committerEdwin Vane <edwin.vane@intel.com>2013-02-19 17:14:34 +0000
commit2c197e09397ee071c678ba77c2451166264b55f7 (patch)
tree44ab43b33501f733618bd7aa7c9d73f02785c67b /llvm/lib/CodeGen/MachineModuleInfoImpls.cpp
parent1c040b57885e360149b2d3cf317570a3a6effa08 (diff)
downloadllvm-2c197e09397ee071c678ba77c2451166264b55f7.zip
llvm-2c197e09397ee071c678ba77c2451166264b55f7.tar.gz
llvm-2c197e09397ee071c678ba77c2451166264b55f7.tar.bz2
Support in hasDeclaration for types with getDecl()
Using a new metafunction for detecting the presence of the member 'getDecl' in a type T, added support to hasDeclaration for any such type T. This allows hasDecl() to be replaced and enables several other subclasses of clang::Type to use hasDeclaration. Updated unittests and LibASTMatchersReference.html. Reviewers: klimek llvm-svn: 175532
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfoImpls.cpp')
0 files changed, 0 insertions, 0 deletions