summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/Analysis/GRSimpleVals.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/Analysis/GRSimpleVals.cpp b/clang/Analysis/GRSimpleVals.cpp
index c1bb9fd41b4..ae06917e134 100644
--- a/clang/Analysis/GRSimpleVals.cpp
+++ b/clang/Analysis/GRSimpleVals.cpp
@@ -28,7 +28,7 @@ static inline const PostStmt& GetLocation(ITERATOR I) {
}
template <>
-static inline const PostStmt& GetLocation(GRExprEngine::undef_arg_iterator I) {
+inline const PostStmt& GetLocation(GRExprEngine::undef_arg_iterator I) {
return cast<PostStmt>(I->first->getLocation());
}
@@ -55,8 +55,8 @@ static void EmitDiag(Diagnostic& Diag, SourceManager& SrcMgr,
}
template <typename ITERATOR>
-static void EmitWarning(Diagnostic& Diag, SourceManager& SrcMgr,
- ITERATOR I, ITERATOR E, const char* msg) {
+void EmitWarning(Diagnostic& Diag, SourceManager& SrcMgr,
+ ITERATOR I, ITERATOR E, const char* msg) {
std::ostringstream Out;
Out << "[CHECKER] " << msg;
OpenPOWER on IntegriCloud