forked from qt-creator/qt-creator
Cleanup the C++ front-end.
Removed CPLUSPLUS_BEGIN/END_NAMESPACE & co and made it possible to compile the parser with CPLUSPLUS_WITHOUT_QT.
This commit is contained in:
@@ -56,8 +56,8 @@
|
||||
#include <stdio.h> // for FILE*
|
||||
#include <vector> // ### remove me
|
||||
|
||||
CPLUSPLUS_BEGIN_HEADER
|
||||
CPLUSPLUS_BEGIN_NAMESPACE
|
||||
|
||||
namespace CPlusPlus {
|
||||
|
||||
class CPLUSPLUS_EXPORT TranslationUnit
|
||||
{
|
||||
@@ -204,7 +204,7 @@ private:
|
||||
};
|
||||
};
|
||||
|
||||
CPLUSPLUS_END_NAMESPACE
|
||||
CPLUSPLUS_END_HEADER
|
||||
} // end of namespace CPlusPlus
|
||||
|
||||
|
||||
#endif // CPLUSPLUS_TRANSLATIONUNIT_H
|
||||
|
||||
Reference in New Issue
Block a user