diff options
author | Edwin Vane <edwin.vane@intel.com> | 2013-02-19 17:14:34 +0000 |
---|---|---|
committer | Edwin Vane <edwin.vane@intel.com> | 2013-02-19 17:14:34 +0000 |
commit | 2c197e09397ee071c678ba77c2451166264b55f7 (patch) | |
tree | 44ab43b33501f733618bd7aa7c9d73f02785c67b /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 1c040b57885e360149b2d3cf317570a3a6effa08 (diff) | |
download | llvm-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/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions