llvm-project/clang/lib
Kees Cook aef03c9b3b [clang][auto-init] Deprecate -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang
GCC 12 has been released and contains unconditional support for
-ftrivial-auto-var-init=zero:
https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-ftrivial-auto-var-init

Maintain compatibility with GCC, and remove the -enable flag for "zero"
mode. The flag is left to generate an "unused" warning, though, to not
break all the existing users. The flag will be fully removed in Clang 17.

Link: https://github.com/llvm/llvm-project/issues/44842

Reviewed By: nickdesaulniers, MaskRay, srhines, xbolva00

Differential Revision: https://reviews.llvm.org/D125142
2022-10-01 18:45:45 -07:00
..
APINotes
ARCMigrate [NFC] Typo fix in ARCMTActions.h 2022-09-18 12:34:24 +05:30
AST [clang] Use std::enable_if_t (NFC) 2022-10-01 17:24:54 -07:00
ASTMatchers Revert "ManagedStatic: remove from ASTMatchersInternal.h" 2022-07-27 15:46:21 +02:00
Analysis Fix a tautological comparison bug caught during post-commit 2022-09-28 14:23:28 -04:00
Basic [Clang] Move ParsedTargetAttr to TargetInfo.h 2022-10-01 18:26:42 +01:00
CodeGen [Clang][AArch64] Support AArch64 target(..) attribute formats. 2022-10-01 15:40:59 +01:00
CrossTU Fixed a number of typos 2022-08-01 13:13:18 -04:00
DirectoryWatcher [clang] fix deprecation 2022-08-09 17:42:55 +02:00
Driver [clang][auto-init] Deprecate -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang 2022-10-01 18:45:45 -07:00
Edit [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
ExtractAPI [clang][ExtractAPI] Record availability information on all platforms 2022-08-19 14:54:52 -07:00
Format [clang-format] Correctly indent closing brace of compound requires 2022-10-01 08:16:57 +03:00
Frontend [Clang] define __cpp_named_character_escapes 2022-09-30 11:13:18 +03:00
FrontendTool [C++20][Modules][HU 1/5] Introduce header units as a module type. 2022-03-25 09:17:14 +00:00
Headers [HLSL] add ceil library function 2022-09-29 14:03:30 -07:00
Index [clang] Qualify auto in range-based for loops (NFC) 2022-09-03 23:27:27 -07:00
IndexSerialization
Interpreter [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
Lex [clang][modules][deps] Report modulemaps describing excluded headers 2022-09-22 12:36:05 -07:00
Parse [Clang] P1169R4: static operator() 2022-09-29 23:03:26 +03:00
Rewrite [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
Sema [Clang][AArch64] Support AArch64 target(..) attribute formats. 2022-10-01 15:40:59 +01:00
Serialization [C2x] implement typeof and typeof_unqual 2022-09-28 13:27:52 -04:00
StaticAnalyzer [analyzer] Pass correct bldrCtx to computeObjectUnderConstruction 2022-09-26 11:39:10 +02:00
Support [RISCV][Clang] Support policy function for all vector segment load. 2022-08-04 17:47:24 +00:00
Testing [include-cleaner] Include-cleaner library structure, and simplistic AST walking. 2022-04-29 11:04:11 +02:00
Tooling [clang][deps] NFC: Expose more flexible version of `Worker::computeDependencies()` 2022-09-29 11:29:53 -07:00
CMakeLists.txt [RISCV] Moving RVV intrinsic type related util to clang/Support 2022-04-20 21:13:13 +08:00