hanchenye-llvm-project/clang/lib/Frontend
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
..
Rewrite Revert "unique_ptr-ify ownership of ASTConsumers" 2014-07-17 22:34:12 +00:00
ASTConsumers.cpp Revert "unique_ptr-ify ownership of ASTConsumers" 2014-07-17 22:34:12 +00:00
ASTMerge.cpp Revert "unique_ptr-ify ownership of ASTConsumers" 2014-07-17 22:34:12 +00:00
ASTUnit.cpp Revert "unique_ptr-ify ownership of ASTConsumers" 2014-07-17 22:34:12 +00:00
CMakeLists.txt Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
CacheTokens.cpp Improve memory ownership of vfs::Files in the FileSystemStatCache by using std::unique_ptr 2014-07-08 15:46:02 +00:00
ChainedDiagnosticConsumer.cpp
ChainedIncludesSource.cpp Revert "unique_ptr-ify ownership of ASTConsumers" 2014-07-17 22:34:12 +00:00
CompilerInstance.cpp Add stopgap option -fmodule-implementation-of <name> 2014-07-23 15:30:23 +00:00
CompilerInvocation.cpp Use -Rblah, not -Wblah, to control remark diagnostics. This was always the 2014-08-07 00:24:21 +00:00
CreateInvocationFromCommandLine.cpp Track IntrusiveRefCntPtr::get() changes from LLVM r212366 2014-07-05 03:08:06 +00:00
DependencyFile.cpp Consider module depedencies when checking a preamble in libclang 2014-06-30 20:04:14 +00:00
DependencyGraph.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
DiagnosticRenderer.cpp Add a missing close quote in "while building module 'Foo:" diagnostic. 2014-07-26 01:22:02 +00:00
FrontendAction.cpp Revert "unique_ptr-ify ownership of ASTConsumers" 2014-07-17 22:34:12 +00:00
FrontendActions.cpp Use -Rblah, not -Wblah, to control remark diagnostics. This was always the 2014-08-07 00:24:21 +00:00
FrontendOptions.cpp Remove duplicated case. 2013-06-22 16:44:45 +00:00
HeaderIncludeGen.cpp clang-cl: Flush stdout after writing the /showIncludes output 2014-07-17 19:08:19 +00:00
InitHeaderSearch.cpp AArch64: update Clang for merged arm64/aarch64 triples. 2014-07-23 12:32:58 +00:00
InitPreprocessor.cpp If char/short are shorter than int, do not use U as suffix for 2014-07-17 20:12:32 +00:00
LangStandards.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
LayoutOverrideSource.cpp Excise <cctype> from Clang (except clang-tblgen) in favor of CharInfo.h. 2013-02-08 22:30:41 +00:00
LogDiagnosticPrinter.cpp Use PlistSupport in a few more places 2014-07-06 04:26:52 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
ModuleDependencyCollector.cpp Frontend: Disentangle removePathTraversal from concatenating paths 2014-06-20 03:28:46 +00:00
MultiplexConsumer.cpp Revert "unique_ptr-ify ownership of ASTConsumers" 2014-07-17 22:34:12 +00:00
PrintPreprocessedOutput.cpp Complete the switch from mappings to declarative diagnostic severities 2014-06-12 10:15:20 +00:00
SerializedDiagnosticPrinter.cpp Remove uses of the redundant ".reset(nullptr)" of unique_ptr, in favor of ".reset()" 2014-07-19 01:06:45 +00:00
TextDiagnostic.cpp Driver: bifurcate extended and basic MSC versioning 2014-07-16 03:13:50 +00:00
TextDiagnosticBuffer.cpp Support 'remark' in VerifyDiagnosticConsumer 2014-05-01 14:06:01 +00:00
TextDiagnosticPrinter.cpp Remove uses of the redundant ".reset(nullptr)" of unique_ptr, in favor of ".reset()" 2014-07-19 01:06:45 +00:00
VerifyDiagnosticConsumer.cpp Provide -verify support to match "any" line for diagnostics in included files. 2014-07-10 16:43:29 +00:00