[cfe-commits] r77651 - /cfe/trunk/lib/Analysis/AnalysisContext.cpp
Mike Stump
mrs at apple.com
Thu Jul 30 18:10:29 PDT 2009
Author: mrs
Date: Thu Jul 30 20:10:29 2009
New Revision: 77651
URL: http://llvm.org/viewvc/llvm-project?rev=77651&view=rev
Log:
Fix build warnings.
Modified:
cfe/trunk/lib/Analysis/AnalysisContext.cpp
Modified: cfe/trunk/lib/Analysis/AnalysisContext.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/AnalysisContext.cpp?rev=77651&r1=77650&r2=77651&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/AnalysisContext.cpp (original)
+++ cfe/trunk/lib/Analysis/AnalysisContext.cpp Thu Jul 30 20:10:29 2009
@@ -18,6 +18,7 @@
#include "clang/AST/Decl.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/ParentMap.h"
+#include "llvm/Support/ErrorHandling.h"
using namespace clang;
@@ -33,7 +34,7 @@
else if (ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(D))
return MD->getBody();
- assert(0 && "unknown code decl");
+ llvm::llvm_unreachable("unknown code decl");
}
CFG *AnalysisContext::getCFG() {
More information about the cfe-commits
mailing list