Skip to content

Commit 045b2be

Browse files
author
git apple-llvm automerger
committed
Merge commit '94fdeb76864c' from llvm.org/main into next
2 parents 48be940 + 94fdeb7 commit 045b2be

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,7 @@ Bug Fixes to C++ Support
761761
reference in its own initializer in C++23 mode (#GH131330).
762762
- Clang could incorrectly instantiate functions in discarded contexts (#GH140449)
763763
- Fix instantiation of default-initialized variable template specialization. (#GH140632) (#GH140622)
764+
- Clang modules now allow a module and its user to differ on TrivialAutoVarInit*
764765

765766
Bug Fixes to AST Handling
766767
^^^^^^^^^^^^^^^^^^^^^^^^^

clang/include/clang/Basic/LangOptions.def

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -405,11 +405,11 @@ BENIGN_LANGOPT(HalfNoSemanticInterposition, 1, 0,
405405
"Like -fno-semantic-interposition but don't use local aliases")
406406
ENUM_LANGOPT(StackProtector, StackProtectorMode, 2, SSPOff,
407407
"stack protector mode")
408-
ENUM_LANGOPT(TrivialAutoVarInit, TrivialAutoVarInitKind, 2, TrivialAutoVarInitKind::Uninitialized,
408+
BENIGN_ENUM_LANGOPT(TrivialAutoVarInit, TrivialAutoVarInitKind, 2, TrivialAutoVarInitKind::Uninitialized,
409409
"trivial automatic variable initialization")
410-
VALUE_LANGOPT(TrivialAutoVarInitStopAfter, 32, 0,
410+
BENIGN_VALUE_LANGOPT(TrivialAutoVarInitStopAfter, 32, 0,
411411
"stop trivial automatic variable initialization after the specified number of instances. Must be greater than 0.")
412-
VALUE_LANGOPT(TrivialAutoVarInitMaxSize, 32, 0,
412+
BENIGN_VALUE_LANGOPT(TrivialAutoVarInitMaxSize, 32, 0,
413413
"stop trivial automatic variable initialization if var size exceeds the specified size (in bytes). Must be greater than 0.")
414414
ENUM_LANGOPT(SignedOverflowBehavior, SignedOverflowBehaviorTy, 2, SOB_Undefined,
415415
"signed integer overflow handling")

0 commit comments

Comments
 (0)