We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffc4ff8 commit 013f4baCopy full SHA for 013f4ba
clang/include/clang/AST/DeclTemplate.h
@@ -1557,8 +1557,8 @@ class TemplateTemplateParmDecl final
1557
1558
/// Retrieve the default argument, if any.
1559
const TemplateArgumentLoc &getDefaultArgument() const {
1560
- static const TemplateArgumentLoc None;
1561
- return DefaultArgument.isSet() ? *DefaultArgument.get() : None;
+ static const TemplateArgumentLoc NoneLoc;
+ return DefaultArgument.isSet() ? *DefaultArgument.get() : NoneLoc;
1562
}
1563
1564
/// Retrieve the location of the default argument, if any.
0 commit comments