Skip to content

Commit b79b9cb

Browse files
committed
fixup: Remove redundant macro contents
1 parent 93617b9 commit b79b9cb

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
@@ -247,13 +247,13 @@ void RISCVTargetInfo::getTargetDefines(const LangOptions &Opts,
247247
if (Scheme == CFBranchLabelSchemeKind::Default)
248248
Scheme = getDefaultCFBranchLabelScheme();
249249

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

0 commit comments

Comments
 (0)