Add a couple const modifiers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40708 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/clang/AST/Expr.h b/include/clang/AST/Expr.h
index ada076d..32f4053 100644
--- a/include/clang/AST/Expr.h
+++ b/include/clang/AST/Expr.h
@@ -735,8 +735,8 @@
Expr(TypesCompatibleExprClass, ReturnType), Type1(t1), Type2(t2),
BuiltinLoc(BLoc), RParenLoc(RP) {}
- QualType getArgType1() { return Type1; }
- QualType getArgType2() { return Type2; }
+ QualType getArgType1() const { return Type1; }
+ QualType getArgType2() const { return Type2; }
int typesAreCompatible() const { return Type::typesAreCompatible(Type1,Type2); }