From: Vedant Kumar Date: Wed, 24 Aug 2016 06:44:57 +0000 (+0000) Subject: [AST] Make InitListExpr::isExplicit const (NFC) X-Git-Tag: llvmorg-4.0.0-rc1~11594 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=81899af5501ac02d1c42ea43e1370ad5a6a92bd0;p=platform%2Fupstream%2Fllvm.git [AST] Make InitListExpr::isExplicit const (NFC) Patch by Alexander Shaposhnikov! Differential Revision: https://reviews.llvm.org/D23828 llvm-svn: 279613 --- diff --git a/clang/include/clang/AST/Expr.h b/clang/include/clang/AST/Expr.h index 9179c77..7f98f00 100644 --- a/clang/include/clang/AST/Expr.h +++ b/clang/include/clang/AST/Expr.h @@ -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(); }