search for: parseconstantexpression

Displaying 1 result from an estimated 1 matches for "parseconstantexpression".

2009 Jul 13
0
[LLVMdev] Clang source question around failing MSVC build
...39;*='. Sema rejects these in C89 mode because they // 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&); // D...