forked from qt-creator/qt-creator
CPlusPlus: Fix build with clang-cl
llvm-link is picky regarding missing dllimport symbols. Change-Id: I189ddaa0962ded9ebe16d60bae568979a35403a3 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
6
src/libs/3rdparty/cplusplus/AST.h
vendored
6
src/libs/3rdparty/cplusplus/AST.h
vendored
@@ -76,7 +76,7 @@ public:
|
||||
Tptr value;
|
||||
List *next;
|
||||
|
||||
class ListIterator
|
||||
class CPLUSPLUS_EXPORT ListIterator
|
||||
{
|
||||
List<Tptr> *iter;
|
||||
|
||||
@@ -91,8 +91,8 @@ public:
|
||||
iter = iter->next;
|
||||
return *this;
|
||||
}
|
||||
bool operator==(ListIterator other) { return iter == other.iter; }
|
||||
bool operator!=(ListIterator other) { return iter != other.iter; }
|
||||
bool operator==(const ListIterator &other) { return iter == other.iter; }
|
||||
bool operator!=(const ListIterator &other) { return iter != other.iter; }
|
||||
};
|
||||
ListIterator begin() { return {this}; }
|
||||
ListIterator end() { return {nullptr}; }
|
||||
|
Reference in New Issue
Block a user