[AST] Make InitListExpr::isExplicit const (NFC)
authorVedant Kumar <vsk@apple.com>
Wed, 24 Aug 2016 06:44:57 +0000 (06:44 +0000)
committerVedant Kumar <vsk@apple.com>
Wed, 24 Aug 2016 06:44:57 +0000 (06:44 +0000)
Patch by Alexander Shaposhnikov!

Differential Revision: https://reviews.llvm.org/D23828

llvm-svn: 279613

clang/include/clang/AST/Expr.h

index 9179c77..7f98f00 100644 (file)
@@ -3862,7 +3862,7 @@ public:
 
   // Explicit InitListExpr's originate from source code (and have valid source
   // locations). Implicit InitListExpr's are created by the semantic analyzer.
-  bool isExplicit() {
+  bool isExplicit() const {
     return LBraceLoc.isValid() && RBraceLoc.isValid();
   }