]> granicus.if.org Git - clang/commitdiff
[analyzer] Don't include Clang headers inside a namespace.
authorJordan Rose <jordan_rose@apple.com>
Tue, 27 Aug 2013 16:59:26 +0000 (16:59 +0000)
committerJordan Rose <jordan_rose@apple.com>
Tue, 27 Aug 2013 16:59:26 +0000 (16:59 +0000)
Found by Gabor Kozar!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189370 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/StaticAnalyzer/Core/CheckerRegistry.h

index 4557aa40ea805f85c5ee167bb3eb1a4f21283dd7..ca68a74fef96e00774cc62442eccd428645c94dc 100644 (file)
 //
 // For a complete working example, see examples/analyzer-plugin.
 
-
-namespace clang {
-namespace ento {
-
 #ifndef CLANG_ANALYZER_API_VERSION_STRING
 // FIXME: The Clang version string is not particularly granular;
 // the analyzer infrastructure can change a lot between releases.
@@ -67,6 +63,9 @@ namespace ento {
 #define CLANG_ANALYZER_API_VERSION_STRING CLANG_VERSION_STRING
 #endif
 
+namespace clang {
+namespace ento {
+
 class CheckerOptInfo;
 
 /// Manages a set of available checkers for running a static analysis.