forked from OSchip/llvm-project
Fix warnings caused by new CXXUuidofExprClass enumerator.
llvm-svn: 113444
This commit is contained in:
parent
c6f6df088f
commit
5cc0a67f08
|
@ -2379,6 +2379,7 @@ static ICEDiag CheckICE(const Expr* E, ASTContext &Ctx) {
|
|||
case Expr::CXXMemberCallExprClass:
|
||||
case Expr::CXXDynamicCastExprClass:
|
||||
case Expr::CXXTypeidExprClass:
|
||||
case Expr::CXXUuidofExprClass:
|
||||
case Expr::CXXNullPtrLiteralExprClass:
|
||||
case Expr::CXXThisExprClass:
|
||||
case Expr::CXXThrowExprClass:
|
||||
|
|
|
@ -773,6 +773,7 @@ void GRExprEngine::Visit(const Stmt* S, ExplodedNode* Pred,
|
|||
case Stmt::CXXThrowExprClass:
|
||||
case Stmt::CXXTryStmtClass:
|
||||
case Stmt::CXXTypeidExprClass:
|
||||
case Stmt::CXXUuidofExprClass:
|
||||
case Stmt::CXXUnresolvedConstructExprClass:
|
||||
case Stmt::CXXScalarValueInitExprClass:
|
||||
case Stmt::DependentScopeDeclRefExprClass:
|
||||
|
|
|
@ -1617,7 +1617,8 @@ void CXXNameMangler::mangleExpression(const Expr *E, unsigned Arity) {
|
|||
case Expr::StmtExprClass:
|
||||
case Expr::TypesCompatibleExprClass:
|
||||
case Expr::UnaryTypeTraitExprClass:
|
||||
case Expr::VAArgExprClass: {
|
||||
case Expr::VAArgExprClass:
|
||||
case Expr::CXXUuidofExprClass: {
|
||||
// As bad as this diagnostic is, it's better than crashing.
|
||||
Diagnostic &Diags = Context.getDiags();
|
||||
unsigned DiagID = Diags.getCustomDiagID(Diagnostic::Error,
|
||||
|
|
|
@ -124,6 +124,7 @@ CXCursor cxcursor::MakeCXCursor(Stmt *S, Decl *Parent, ASTUnit *TU) {
|
|||
case Stmt::CXXConstCastExprClass:
|
||||
case Stmt::CXXFunctionalCastExprClass:
|
||||
case Stmt::CXXTypeidExprClass:
|
||||
case Stmt::CXXUuidofExprClass:
|
||||
case Stmt::CXXBoolLiteralExprClass:
|
||||
case Stmt::CXXNullPtrLiteralExprClass:
|
||||
case Stmt::CXXThisExprClass:
|
||||
|
|
Loading…
Reference in New Issue