[PATCH] D15251: [Clang] Use range loops and autos in lib/Serialization/ASTReader.cpp
Eugene Zelenko via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 7 11:56:44 PST 2015
Eugene.Zelenko added inline comments.
================
Comment at: lib/Serialization/ASTReader.cpp:5074
@@ -5087,3 +5073,3 @@
bool operator()(ModuleFile &M) {
- HeaderFileInfoLookupTable *Table
+ auto *Table
= static_cast<HeaderFileInfoLookupTable *>(M.HeaderFileInfoTable);
----------------
I don't think it's good idea to make coding practices depending on formatting.
http://reviews.llvm.org/D15251
More information about the cfe-commits
mailing list