aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/FormatStringParsing.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Analysis/FormatStringParsing.h')
-rw-r--r--lib/Analysis/FormatStringParsing.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Analysis/FormatStringParsing.h b/lib/Analysis/FormatStringParsing.h
index 49d9735f80..607e99ccd0 100644
--- a/lib/Analysis/FormatStringParsing.h
+++ b/lib/Analysis/FormatStringParsing.h
@@ -6,6 +6,8 @@
#include "clang/AST/Type.h"
#include "llvm/Support/raw_ostream.h"
+namespace clang {
+
template <typename T>
class UpdateOnReturn {
T &ValueToUpdate;
@@ -19,7 +21,6 @@ public:
}
};
-namespace clang {
namespace analyze_format_string {
OptionalAmount ParseAmount(const char *&Beg, const char *E);