Displaying 1 result from an estimated 1 matches for "parseassignmentexpression".
2009 Jul 13
0
[LLVMdev] Clang source question around failing MSVC build
...// are not i-c-e's, so we don't need to distinguish between the two here.
// Parse the constant-expression or assignment-expression now (depending
// on dialect).
if (getLang().CPlusPlus)
NumElements = ParseConstantExpression();
else
NumElements = ParseAssignmentExpression();
}
As far as I can tell this code should not compile because of the following code from Ownership.h:
template <ASTDestroyer Destroyer>
class ASTOwningResult
{
…
ASTOwningResult(ASTOwningResult&); // DO NOT IMPLEMENT
ASTOwningResult& operator =(ASTOwni...