[PATCH] D18424: [Clang] Fix Clang-tidy modernize-deprecated-headers warnings; other minor fixes
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 28 07:14:23 PDT 2016
aaron.ballman added inline comments.
================
Comment at: include/clang-c/Index.h:19
@@ -18,1 +18,3 @@
+#ifdef __cplusplus
+#include <ctime>
----------------
Is this produced by the deprecated headers check? If not, what value does ctime add over time.h?
================
Comment at: lib/Lex/ModuleMap.cpp:1286
@@ -1284,3 +1285,3 @@
};
-}
+} // end anonymous namespaces
----------------
namespace instead of namespaces
Repository:
rL LLVM
http://reviews.llvm.org/D18424
More information about the cfe-commits
mailing list