r220974 - Fix the build
David Blaikie
dblaikie at gmail.com
Fri Oct 31 10:18:09 PDT 2014
Author: dblaikie
Date: Fri Oct 31 12:18:09 2014
New Revision: 220974
URL: http://llvm.org/viewvc/llvm-project?rev=220974&view=rev
Log:
Fix the build
Modified:
cfe/trunk/lib/AST/Decl.cpp
Modified: cfe/trunk/lib/AST/Decl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Decl.cpp?rev=220974&r1=220973&r2=220974&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Decl.cpp (original)
+++ cfe/trunk/lib/AST/Decl.cpp Fri Oct 31 12:18:09 2014
@@ -3325,7 +3325,7 @@ SourceRange FieldDecl::getSourceRange()
}
void FieldDecl::setCapturedVLAType(const VariableArrayType *VLAType) {
- assert((RD->isLambda() || RD->isCapturedRecord()) &&
+ assert((getParent()->isLambda() || getParent()->isCapturedRecord()) &&
"capturing type in non-lambda or captured record.");
assert(InitStorage.getInt() == ISK_BitWidthOrNothing &&
InitStorage.getPointer() == nullptr &&
More information about the cfe-commits
mailing list