summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/Literals.h
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/Literals.h
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/Literals.h')
-rw-r--r--src/shared/cplusplus/Literals.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shared/cplusplus/Literals.h b/src/shared/cplusplus/Literals.h
index a7cefc76ec..2a11cdada7 100644
--- a/src/shared/cplusplus/Literals.h
+++ b/src/shared/cplusplus/Literals.h
@@ -52,8 +52,8 @@
#include "CPlusPlusForwardDeclarations.h"
#include "Token.h"
-CPLUSPLUS_BEGIN_HEADER
-CPLUSPLUS_BEGIN_NAMESPACE
+
+namespace CPlusPlus {
class CPLUSPLUS_EXPORT Literal
{
@@ -135,7 +135,7 @@ public:
bool isEqualTo(const Identifier *other) const;
};
-CPLUSPLUS_END_NAMESPACE
-CPLUSPLUS_END_HEADER
+} // end of namespace CPlusPlus
+
#endif // CPLUSPLUS_LITERALS_H