http://llvm.org/bugs/show_bug.cgi?id=16540
Bug ID: 16540
Summary: push_back of ASTVector is called with too few
arguments
Product: clang
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
in the definition of ASTVector::insert(ASTContext &C, iterator I, const T &Elt)
the push_back member funcion is called with only one argument when it expects
two.
This causes a compile-time error when the insert member is instantiated.
It also causes an assertion failure in AST/Expr.h:2141: clang::Expr*
clang::CallExpr::getArg(unsigned int): Assertion `Arg < NumArgs && "Arg access
out of range!"' failed. This is a non-recoverable error when we parse our code
base with our RecursiveASTVisitor (is there any workaround on that?).
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs