hanchenye-llvm-project/clang/lib/Basic
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
..
Attributes.cpp Post-commit review coding style change: renaming HasAttribute to hasAttribute. No functional changes. 2014-03-31 15:26:40 +00:00
Builtins.cpp CodeGen: make target builtins support languages 2014-07-02 17:41:27 +00:00
CMakeLists.txt Reapply r207477 and r207479 without cyclic dependency 2014-04-29 16:25:26 +00:00
CharInfo.cpp
Diagnostic.cpp Use -Rblah, not -Wblah, to control remark diagnostics. This was always the 2014-08-07 00:24:21 +00:00
DiagnosticIDs.cpp Use -Rblah, not -Wblah, to control remark diagnostics. This was always the 2014-08-07 00:24:21 +00:00
FileManager.cpp Remove uses of the redundant ".reset(nullptr)" of unique_ptr, in favor of ".reset()" 2014-07-19 01:06:45 +00:00
FileSystemStatCache.cpp Improve memory ownership of vfs::Files in the FileSystemStatCache by using std::unique_ptr 2014-07-08 15:46:02 +00:00
IdentifierTable.cpp Decouple ExprCXX.h and DeclCXX.h and clean up includes a bit. 2014-05-10 16:31:55 +00:00
LangOptions.cpp Add stopgap option -fmodule-implementation-of <name> 2014-07-23 15:30:23 +00:00
Makefile
Module.cpp [C++11] Use 'nullptr'. 2014-05-08 06:41:40 +00:00
ObjCRuntime.cpp Add a define for the ObjFW runtime ABI version. 2013-09-16 16:31:49 +00:00
OpenMPKinds.cpp [OPENMP] Additional comments for implicit 'flush' clause + removed unused parameter from method classof(). 2014-07-29 09:17:39 +00:00
OperatorPrecedence.cpp Replace C++0x in a comment with C++11 2013-07-14 17:04:56 +00:00
SourceLocation.cpp Only mark dump() function definitions 'used' in debug builds 2014-01-04 13:47:14 +00:00
SourceManager.cpp Remove unused sys/stat.h includes 2014-07-07 08:37:15 +00:00
TargetInfo.cpp Change __INTx_TYPE__ to be always signed. This changes the value for 2014-07-28 21:06:22 +00:00
Targets.cpp MachO: set sizeof result type to what embedded headers expect. 2014-08-05 11:07:26 +00:00
TokenKinds.cpp [C++11] Use 'nullptr'. 2014-05-08 06:41:40 +00:00
Version.cpp Revert "Revert "Devise a package-private means to determine the LLVM version string"" 2014-06-06 10:36:22 +00:00
VersionTuple.cpp Include llvm::Optional in clang/Basic/LLVM.h 2013-02-20 22:23:23 +00:00
VirtualFileSystem.cpp VirtualFileSystem: Correctly generate the mapping for an empty VFS 2014-07-15 01:24:35 +00:00
Warnings.cpp Use -Rblah, not -Wblah, to control remark diagnostics. This was always the 2014-08-07 00:24:21 +00:00