File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,8 @@ Improvements to Clang's diagnostics
133
133
134
134
- Clang now diagnoses undefined behavior in constant expressions more consistently. This includes invalid shifts, and signed overflow in arithmetic.
135
135
136
+ - -Wdangling-assignment-gsl is enabled by default.
137
+
136
138
Improvements to Clang's time-trace
137
139
----------------------------------
138
140
Original file line number Diff line number Diff line change @@ -10131,7 +10131,7 @@ def warn_dangling_lifetime_pointer : Warning<
10131
10131
InGroup<DanglingGsl>;
10132
10132
def warn_dangling_lifetime_pointer_assignment : Warning<"object backing the "
10133
10133
"pointer %0 will be destroyed at the end of the full-expression">,
10134
- InGroup<DanglingAssignmentGsl>, DefaultIgnore ;
10134
+ InGroup<DanglingAssignmentGsl>;
10135
10135
def warn_new_dangling_initializer_list : Warning<
10136
10136
"array backing "
10137
10137
"%select{initializer list subobject of the allocated object|"
You can’t perform that action at this time.
0 commit comments