error while making the clang

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

error while making the clang

Wei Li
Dear All :

I am getting the following while making CLANG. Any comments?


/home/cis/LLVM/llvm/tools/clang/lib/Checker/../../include/clang/AST/ExprCXX.h:2464:
error: ‘CXXNoexceptExprClass’ was not declared in this scope
/home/cis/LLVM/llvm/tools/clang/lib/CodeGen/../../include/clang/AST/ExprCXX.h:
In constructor ‘clang::CXXNoexceptExpr::CXXNoexceptExpr(clang::QualType,
clang::Expr*, clang::Expr::CanThrowResult, clang::SourceLocation,
clang::SourceLocation)’:
/home/cis/LLVM/llvm/tools/clang/lib/CodeGen/../../include/clang/AST/ExprCXX.h:2448:
error: ‘CXXNoexceptExprClass’ was not declared in this scope
/home/cis/LLVM/llvm/tools/clang/lib/CodeGen/../../include/clang/AST/ExprCXX.h:
In constructor ‘clang::CXXNoexceptExpr::CXXNoexceptExpr(clang::Stmt::EmptyShell)’:
/home/cis/LLVM/llvm/tools/clang/lib/CodeGen/../../include/clang/AST/ExprCXX.h:2454:
error: ‘CXXNoexceptExprClass’ was not declared in this scope
/home/cis/LLVM/llvm/tools/clang/lib/CodeGen/../../include/clang/AST/ExprCXX.h:
In static member function ‘static bool
clang::CXXNoexceptExpr::classof(const clang::Stmt*)’:
/home/cis/LLVM/llvm/tools/clang/lib/CodeGen/../../include/clang/AST/ExprCXX.h:2464:
error: ‘CXXNoexceptExprClass’ was not declared in this scope
/home/cis/LLVM/llvm/tools/clang/lib/Sema/../../include/clang/AST/ExprCXX.h:
In constructor ‘clang::CXXNoexceptExpr::CXXNoexceptExpr(clang::QualType,
clang::Expr*, clang::Expr::CanThrowResult, clang::SourceLocation,
clang::SourceLocation)’:


--
Regards,

Wei Li

_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: error while making the clang

Sebastian Redl

On Sep 13, 2010, at 10:15 AM, Wei Li wrote:

> Dear All :
>
> I am getting the following while making CLANG. Any comments?
>
>
> /home/cis/LLVM/llvm/tools/clang/lib/Checker/../../include/clang/AST/ExprCXX.h:2464:
> error: ‘CXXNoexceptExprClass’ was not declared in this scope

Most likely, this means a dependency problem caused StmtNodes.inc not to be regenerated. (StmtNodes.td was changed.)
Do a clean rebuild and it should work.

Sebastian


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev