summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/SemanticCheck.cpp
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-10-20 11:21:25 +0200
committerRoberto Raggi <roberto.raggi@nokia.com>2009-10-20 11:21:25 +0200
commit13675cf6ed022db43f961473f78a97325014fea2 (patch)
tree83650fbb6b98eeda15159bb50fdca3a861ce7cc0 /src/shared/cplusplus/SemanticCheck.cpp
parent0a7d402d855cf4d9ce775d3c130ae938470be1cd (diff)
downloadqt-creator-13675cf6ed022db43f961473f78a97325014fea2.tar.gz
Cleanup the C++ front-end.
Removed CPLUSPLUS_BEGIN/END_NAMESPACE & co and made it possible to compile the parser with CPLUSPLUS_WITHOUT_QT.
Diffstat (limited to 'src/shared/cplusplus/SemanticCheck.cpp')
-rw-r--r--src/shared/cplusplus/SemanticCheck.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/cplusplus/SemanticCheck.cpp b/src/shared/cplusplus/SemanticCheck.cpp
index 92fdbf8389..1feffd93aa 100644
--- a/src/shared/cplusplus/SemanticCheck.cpp
+++ b/src/shared/cplusplus/SemanticCheck.cpp
@@ -49,7 +49,7 @@
#include "SemanticCheck.h"
#include "Semantic.h"
-CPLUSPLUS_BEGIN_NAMESPACE
+using namespace CPlusPlus;
SemanticCheck::SemanticCheck(Semantic *semantic)
: ASTVisitor(semantic->control()),
@@ -65,4 +65,4 @@ Semantic *SemanticCheck::semantic() const
Control *SemanticCheck::control() const
{ return _semantic->control(); }
-CPLUSPLUS_END_NAMESPACE
+