Skip to content

Commit

Permalink
Revert D146987 "[Assignment Tracking] Enable by default"
Browse files Browse the repository at this point in the history
This reverts commit 107b307 due
to build errors in a parent commit fca3e8e
  • Loading branch information
OCHyams committed Apr 19, 2023
1 parent bf4dc43 commit 7674ae7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clang/include/clang/Driver/Options.td
Expand Up @@ -5817,7 +5817,7 @@ def fexperimental_assignment_tracking_EQ : Joined<["-"], "fexperimental-assignme
Group<f_Group>, CodeGenOpts<"EnableAssignmentTracking">,
NormalizedValuesScope<"CodeGenOptions::AssignmentTrackingOpts">,
Values<"disabled,enabled,forced">, NormalizedValues<["Disabled","Enabled","Forced"]>,
MarshallingInfoEnum<CodeGenOpts<"AssignmentTrackingMode">, "Enabled">;
MarshallingInfoEnum<CodeGenOpts<"AssignmentTrackingMode">, "Disabled">;

} // let Flags = [CC1Option, NoDriverOption]

Expand Down
4 changes: 2 additions & 2 deletions clang/test/CodeGen/assignment-tracking/flag.cpp
Expand Up @@ -8,10 +8,10 @@
// RUN: -emit-llvm %s -o - -fexperimental-assignment-tracking=disabled -O1\
// RUN: | FileCheck %s --check-prefixes=DISABLE

//// Enabled by default:
//// Disabled by default:
// RUN: %clang_cc1 -triple x86_64-none-linux-gnu -debug-info-kind=standalone \
// RUN: -emit-llvm %s -o - -O1 \
// RUN: | FileCheck %s --check-prefixes=ENABLE
// RUN: | FileCheck %s --check-prefixes=DISABLE

//// Disabled at O0 unless forced.
// RUN: %clang_cc1 -triple x86_64-none-linux-gnu -debug-info-kind=standalone \
Expand Down

0 comments on commit 7674ae7

Please sign in to comment.