[cfe-commits] r40708 - /cfe/trunk/include/clang/AST/Expr.h
Steve Naroff
snaroff at apple.com
Wed Aug 1 17:19:14 PDT 2007
Author: snaroff
Date: Wed Aug 1 19:19:14 2007
New Revision: 40708
URL: http://llvm.org/viewvc/llvm-project?rev=40708&view=rev
Log:
Add a couple const modifiers.
Modified:
cfe/trunk/include/clang/AST/Expr.h
Modified: cfe/trunk/include/clang/AST/Expr.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Expr.h?rev=40708&r1=40707&r2=40708&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Expr.h (original)
+++ cfe/trunk/include/clang/AST/Expr.h Wed Aug 1 19:19:14 2007
@@ -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); }
More information about the cfe-commits
mailing list