hanchenye-llvm-project/clang/lib/Serialization
Richard Smith 3be1cb294f Use -Rblah, not -Wblah, to control remark diagnostics. This was always the
intent when we added remark support, but was never implemented in the general
case, because the first -R flags didn't need it. (-Rpass= had special handling
to accomodate its argument.)

-Rno-foo, -Reverything, and -Rno-everything can be used to turn off a remark,
or to turn on or off all remarks. Per discussion on cfe-commits, -Weverything
does not affect remarks, and -Reverything does not affect warnings or errors.

The only "real" -R flag we have right now is -Rmodule-build; that flag is
effectively renamed from -Wmodule-build to -Rmodule-build by this change.

-Wpass and -Wno-pass (and their friends) are also renamed to -Rpass and
-Rno-pass by this change; it's not completely clear whether we intended to have
a -Rpass (with no =pattern), but that is unchanged by this commit, other than
the flag name. The default pattern is effectively one which matches no passes.
In future, we may want to make the default pattern be .*, so that -Reverything
works for -Rpass properly.

llvm-svn: 215046
2014-08-07 00:24:21 +00:00
..
ASTCommon.cpp [C++11] Use 'nullptr'. Serialization edition. 2014-05-22 05:54:18 +00:00
ASTCommon.h When a module completes the definition of a class template specialization imported from another module, emit an update record, rather than using the broken decl rewriting mechanism. If multiple modules do this, merge the definitions together, much as we would if they were separate declarations. 2014-04-19 03:48:30 +00:00
ASTReader.cpp Use -Rblah, not -Wblah, to control remark diagnostics. This was always the 2014-08-07 00:24:21 +00:00
ASTReaderDecl.cpp [modules] Remove IRGen special case for emitting implicit special members if 2014-08-01 01:56:39 +00:00
ASTReaderInternals.h Remove unused sys/stat.h includes 2014-07-07 08:37:15 +00:00
ASTReaderStmt.cpp Objective-C ARC. First patch toward generating new APIs 2014-08-06 18:13:46 +00:00
ASTWriter.cpp Use -Rblah, not -Wblah, to control remark diagnostics. This was always the 2014-08-07 00:24:21 +00:00
ASTWriterDecl.cpp [modules] Add abbreviation for ImplicitCastExpr. This is the most common 2014-07-27 04:19:32 +00:00
ASTWriterStmt.cpp Objective-C ARC. First patch toward generating new APIs 2014-08-06 18:13:46 +00:00
CMakeLists.txt [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
GeneratePCH.cpp [C++11] Use 'nullptr'. Serialization edition. 2014-05-22 05:54:18 +00:00
GlobalModuleIndex.cpp Update for llvm api change. 2014-07-06 17:43:24 +00:00
Makefile
Module.cpp [C++11] Use 'nullptr'. Serialization edition. 2014-05-22 05:54:18 +00:00
ModuleManager.cpp Update for llvm api change. 2014-07-06 17:43:24 +00:00