aaron.ballman added inline comments.

================
Comment at: lib/Sema/SemaChecking.cpp:8959
+  if (!S.getLangOpts().CPlusPlus) {
+    if (const TypeOfExprType *TET = dyn_cast<TypeOfExprType>(RHS->getType()))
+      RHS = TET->getUnderlyingExpr()->IgnoreParenImpCasts();
----------------
lebedev.ri wrote:
> Please also add a comment what this is trying to solve.
`const auto *`


================
Comment at: test/Sema/compare.c:398
+enum PR36008EnumTest {
+    kPR36008Value = 0,
+};
----------------
Formatting looks off here.


Repository:
  rC Clang

https://reviews.llvm.org/D42561



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

Reply via email to