fix constness issues.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40798 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/clang/AST/Expr.h b/include/clang/AST/Expr.h
index e7d770a..df5f68d 100644
--- a/include/clang/AST/Expr.h
+++ b/include/clang/AST/Expr.h
@@ -791,10 +791,14 @@
     : Expr(ChooseExprClass, t),  
       Cond(cond), LHS(lhs), RHS(rhs), BuiltinLoc(BLoc), RParenLoc(RP) {}
     
-  Expr *getCond() const { return Cond; }
-  Expr *getLHS() const { return LHS; }
-  Expr *getRHS() const { return RHS; }
-    
+  Expr *getCond() { return Cond; }
+  Expr *getLHS() { return LHS; }
+  Expr *getRHS() { return RHS; }
+
+  const Expr *getCond() const { return Cond; }
+  const Expr *getLHS() const { return LHS; }
+  const Expr *getRHS() const { return RHS; }
+  
   virtual SourceRange getSourceRange() const {
     return SourceRange(BuiltinLoc, RParenLoc);
   }