aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/Type.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/AST/Type.h')
-rw-r--r--include/clang/AST/Type.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h
index 2921132bec..b3fefb265e 100644
--- a/include/clang/AST/Type.h
+++ b/include/clang/AST/Type.h
@@ -131,6 +131,8 @@ public:
bool isRestrictQualified() const {
return (ThePtr & Restrict) ? true : false;
}
+
+ bool isConstant(ASTContext& Ctx) const;
/// addConst/addVolatile/addRestrict - add the specified type qual to this
/// QualType.