================
@@ -3416,15 +3420,13 @@ static QualType checkBuiltinTemplateIdType(
     QualType OrigType = Converted[1].getAsType();
     // C++14 [inteseq.intseq]p1:
     //   T shall be an integer type.
-    if (!OrigType->isDependentType() && !OrigType->isIntegralType(Context)) {
+    if (!OrigType->isIntegralType(Context)) {
----------------
Serosh-commits wrote:

totally agree will add it 

https://github.com/llvm/llvm-project/pull/180407
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to