sammccall added a comment.

We should check if the mangling matches GCC (or if it depends on -std), if we 
can.



================
Comment at: clang/lib/AST/Type.cpp:3429
            toTypeDependence(E->getDependence()) |
-               (E->isInstantiationDependent() ? TypeDependence::Dependent
-                                              : TypeDependence::None) |
+               (E->isTypeDependent() ? TypeDependence::Dependent
+                                     : TypeDependence::None) |
----------------
isn't this redudant with toDependence(E->getDependence)?


================
Comment at: clang/test/SemaCXX/invalid-template-base-specifier.cpp:16
+struct Crash2 : decltype(Alias<T>()) { // expected-note {{in instantiation of 
template type alias 'Alias' requested here}} \
+                                          expected-error {{base specifier must 
name a class}}
   Crash2(){};
----------------
nice!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87349/new/

https://reviews.llvm.org/D87349

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to