forked from qt-creator/qt-creator
C++: Store template typename argument declarator type
Differentiate class from typename. Used by a follow-up commit for pretty printing, preserving the original declarator. Change-Id: I496505f5062abb69d5552e5422db256d49d164c4 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
e920921f27
commit
e919746808
2
src/libs/3rdparty/cplusplus/Symbols.cpp
vendored
2
src/libs/3rdparty/cplusplus/Symbols.cpp
vendored
@@ -171,11 +171,13 @@ void Argument::visitSymbol0(SymbolVisitor *visitor)
|
||||
|
||||
TypenameArgument::TypenameArgument(TranslationUnit *translationUnit, unsigned sourceLocation, const Name *name)
|
||||
: Symbol(translationUnit, sourceLocation, name)
|
||||
, _isClassDeclarator(false)
|
||||
{ }
|
||||
|
||||
TypenameArgument::TypenameArgument(Clone *clone, Subst *subst, TypenameArgument *original)
|
||||
: Symbol(clone, subst, original)
|
||||
, _type(clone->type(original->_type, subst))
|
||||
, _isClassDeclarator(original->_isClassDeclarator)
|
||||
{ }
|
||||
|
||||
TypenameArgument::~TypenameArgument()
|
||||
|
||||
Reference in New Issue
Block a user