diff options
Diffstat (limited to 'clang/lib/Parse/ParseTemplate.cpp')
-rw-r--r-- | clang/lib/Parse/ParseTemplate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseTemplate.cpp b/clang/lib/Parse/ParseTemplate.cpp index f860058117b..25aea352242 100644 --- a/clang/lib/Parse/ParseTemplate.cpp +++ b/clang/lib/Parse/ParseTemplate.cpp @@ -456,7 +456,7 @@ void *Parser::ParseTemplateArgument(bool &ArgIsType) { // the corresponding template-parameter. // // Therefore, we initially try to parse a type-id. - if (isTypeIdInParens()) { + if (isCXXTypeId(TypeIdAsTemplateArgument)) { ArgIsType = true; return ParseTypeName(); } |