Displaying 1 result from an estimated 1 matches for "astdestroy".
Did you mean:
ast_destroy
2009 Jul 13
0
[LLVMdev] Clang source question around failing MSVC build
...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 =(ASTOwningResult&); // DO NOT IMPLEMENT
Both the copy constructor and assignment operator are no implemented and restricted.
A fix for...