Skip to content

Commit 8d278be

Browse files
committed
fixup: Remove redundant macro contents
1 parent 3bb0b65 commit 8d278be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/lib/Basic/Targets/RISCV.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,13 +244,13 @@ void RISCVTargetInfo::getTargetDefines(const LangOptions &Opts,
244244
if (Scheme == CFBranchLabelSchemeKind::Default)
245245
Scheme = getDefaultCFBranchLabelScheme();
246246

247-
Builder.defineMacro("__riscv_landing_pad", "1");
247+
Builder.defineMacro("__riscv_landing_pad");
248248
switch (Scheme) {
249249
case CFBranchLabelSchemeKind::Unlabeled:
250-
Builder.defineMacro("__riscv_landing_pad_unlabeled", "1");
250+
Builder.defineMacro("__riscv_landing_pad_unlabeled");
251251
break;
252252
case CFBranchLabelSchemeKind::FuncSig:
253-
Builder.defineMacro("__riscv_landing_pad_func_sig", "1");
253+
Builder.defineMacro("__riscv_landing_pad_func_sig");
254254
break;
255255
case CFBranchLabelSchemeKind::Default:
256256
llvm_unreachable("default cf-branch-label scheme should already be "

0 commit comments

Comments
 (0)