[PATCH] D39122: [Sema] Fixes for enum handling for tautological comparison diagnostics
Eli Friedman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 20 12:00:39 PDT 2017
efriedma added inline comments.
================
Comment at: lib/Sema/SemaChecking.cpp:8612
+ OtherT = OtherT->getAs<EnumType>()->getDecl()->getIntegerType();
+ }
+
----------------
Why are you changing this here, as opposed to changing IntRange::forValueOfCanonicalType?
Repository:
rL LLVM
https://reviews.llvm.org/D39122
More information about the cfe-commits
mailing list