rnk added inline comments.

================
Comment at: lib/Basic/TargetInfo.cpp:29
+namespace {
+TargetInfo::IntType GetDefaultWCharType(const llvm::Triple &T) {
+  const llvm::Triple::ArchType Arch = T.getArch();
----------------
How is this better than what we had before? It's totally inconsistent with our 
existing strategy for figuring out type widths and sizes. Our current approach 
can be extended for new targets, this requires modifying shared TargetInfo 
code. This refactoring *should* be NFC anyway, so if we did want to do it, we'd 
want to split it out.


https://reviews.llvm.org/D37891



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

Reply via email to