llvm-project/clang/lib
Alex Lorenz c9a369fbec [Sema] Add -Wunguarded-availability-new
The new compiler warning -Wunguarded-availability-new is a subset of
-Wunguarded-availability. It is on by default. It only warns about uses of APIs
that have been introduced in macOS >= 10.13, iOS >= 11, watchOS >= 4 and
tvOS >= 11. We decided to use this kind of solution as we didn't want to turn
on -Wunguarded-availability by default, because we didn't want our users to get
warnings about uses of old APIs in their existing projects.

rdar://31054725

Differential Revision: https://reviews.llvm.org/D34264

llvm-svn: 306033
2017-06-22 17:02:24 +00:00
..
ARCMigrate Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:23:19 +00:00
AST Support MS builtins using 'long' on LP64 platforms 2017-06-21 02:20:46 +00:00
ASTMatchers [ASTMatchers] Fix use after free. 2017-06-09 17:55:42 +00:00
Analysis Changed wording in comment 2017-06-21 05:41:39 +00:00
Basic [AArch64] ADD ARMv.2-A FP16 vector intrinsics 2017-06-20 18:54:57 +00:00
CodeGen SwiftCC: Perform physical layout when computing coercion types 2017-06-21 21:43:40 +00:00
Driver Revert r305678: [driver][macOS] Pick the system version for the 2017-06-21 10:27:24 +00:00
Edit [clang] Fix format specifiers fixits for nested macros 2017-06-20 20:46:58 +00:00
Format clang-format: introduce InlineOnly short function style 2017-06-21 13:56:02 +00:00
Frontend Fixed compiler warnings after r305890. 2017-06-21 12:34:27 +00:00
FrontendTool Add -frewrite-imports flag. 2017-06-09 21:24:02 +00:00
Headers [DOXYGEN] Corrected several typos and incorrect parameters description that Sony's techinical writer found during review. 2017-06-06 22:58:01 +00:00
Index [index] Add the "SpecializationOf" relation to the forward declarations 2017-06-22 11:20:07 +00:00
Lex [preprocessor] Fix assertion hit when 'SingleFileParseMode' option is enabled and #if with an undefined identifier and without #else 2017-06-21 18:52:44 +00:00
Parse [Parser][ObjC] Use an artificial EOF token while parsing lexed ObjC methods 2017-06-19 17:53:21 +00:00
Rewrite Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:29:40 +00:00
Sema [Sema] Add -Wunguarded-availability-new 2017-06-22 17:02:24 +00:00
Serialization [ODRHash] Supply more information when generic error message is emitted. 2017-06-21 01:43:13 +00:00
StaticAnalyzer [analyzer] Do not continue to analyze a path if the constraints contradict with builtin assume 2017-06-22 10:09:40 +00:00
Tooling Method loadFromCommandLine should be able to report errors 2017-05-24 11:57:37 +00:00
CMakeLists.txt