[PATCH] D15926: Do not print certain warnings when input is a header.

Mehdi AMINI via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 6 11:01:53 PST 2016


joker.eph added a subscriber: joker.eph.

================
Comment at: include/clang/Basic/SourceManager.h:660
@@ -659,1 +659,3 @@
 
+  bool MainFileIsHeader = false;
+
----------------
Document?

================
Comment at: include/clang/Basic/SourceManager.h:764
@@ -761,1 +763,3 @@
 
+  void setMainFileHeader(bool mainFileIsHeader) {
+    MainFileIsHeader = mainFileIsHeader;
----------------
Variable should start with a capital

================
Comment at: include/clang/Frontend/FrontendOptions.h:91
@@ -90,1 +90,3 @@
 
+  bool IsHeader;
+
----------------
Document


http://reviews.llvm.org/D15926





More information about the cfe-commits mailing list