CppEditor: Fix "insert definition" for templates with value parameters

Fixes: QTCREATORBUG-26113
Change-Id: I2d2a1c1bdcffd67072bbda99dabbbfbfafe115c5
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2021-08-16 17:52:02 +02:00
parent 837a707ec7
commit d7717f1eca
5 changed files with 36 additions and 3 deletions

View File

@@ -95,6 +95,7 @@ public:
FullySpecifiedType &type() { return _expressionTy; }
const NumericLiteral *numericLiteral() const { return _numericLiteral; }
void setNumericLiteral(const NumericLiteral *l) { _numericLiteral = l; }
bool operator==(const TemplateArgument &other) const
{