[cfe-commits] r138214 - /cfe/trunk/lib/StaticAnalyzer/Checkers/NoReturnFunctionChecker.cpp
Benjamin Kramer
benny.kra at googlemail.com
Sat Aug 20 14:50:42 PDT 2011
Author: d0k
Date: Sat Aug 20 16:50:41 2011
New Revision: 138214
URL: http://llvm.org/viewvc/llvm-project?rev=138214&view=rev
Log:
Fix compile on platforms that don't implicitly include stdarg.h here.
Modified:
cfe/trunk/lib/StaticAnalyzer/Checkers/NoReturnFunctionChecker.cpp
Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/NoReturnFunctionChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/NoReturnFunctionChecker.cpp?rev=138214&r1=138213&r2=138214&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/NoReturnFunctionChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/NoReturnFunctionChecker.cpp Sat Aug 20 16:50:41 2011
@@ -17,7 +17,7 @@
#include "clang/StaticAnalyzer/Core/CheckerManager.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
#include "llvm/ADT/StringSwitch.h"
-#include "llvm/Support/DataTypes.h"
+#include <cstdarg>
using namespace clang;
using namespace ento;
More information about the cfe-commits
mailing list