r279613 - [AST] Make InitListExpr::isExplicit const (NFC)
Vedant Kumar via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 23 23:44:57 PDT 2016
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();
}
More information about the cfe-commits
mailing list