aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/ASTContext.h
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-02-18 05:09:49 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-02-18 05:09:49 +0000
commitd33d9c0cc0cfdcd0b10f35a6acdfb25da4a64f19 (patch)
tree62ddec380281fd5d7584b9ad958acdf4df241f5d /include/clang/AST/ASTContext.h
parent00dbfde0d7d0ef003a5a6bf7de0116636d0c1278 (diff)
Representation of objc gc's attribute using ExtQualType.
Note that one test attr-objc-gc.m fails. I will fix this after removing these attributes from the Decl nodes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64889 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/ASTContext.h')
-rw-r--r--include/clang/AST/ASTContext.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/clang/AST/ASTContext.h b/include/clang/AST/ASTContext.h
index 349b6e3f83..76bb01ebe5 100644
--- a/include/clang/AST/ASTContext.h
+++ b/include/clang/AST/ASTContext.h
@@ -190,6 +190,11 @@ public:
/// replaced.
QualType getAddrSpaceQualType(QualType T, unsigned AddressSpace);
+ /// getObjCGCQualType - Returns the uniqued reference to the type for an
+ /// objc gc qualified type. The retulting type has a union of the qualifiers
+ /// from T and the gc attribute.
+ QualType getObjCGCQualType(QualType T, QualType::GCAttrTypes gcAttr);
+
/// getComplexType - Return the uniqued reference to the type for a complex
/// number with the specified element type.
QualType getComplexType(QualType T);