Author: vedantk Date: Wed Aug 24 01:44:57 2016 New Revision: 279613 URL: http://llvm.org/viewvc/llvm-project?rev=279613&view=rev Log: [AST] Make InitListExpr::isExplicit const (NFC)
Patch by Alexander Shaposhnikov! Differential Revision: https://reviews.llvm.org/D23828 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=279613&r1=279612&r2=279613&view=diff ============================================================================== --- cfe/trunk/include/clang/AST/Expr.h (original) +++ cfe/trunk/include/clang/AST/Expr.h Wed Aug 24 01:44:57 2016 @@ -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(); } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits