Skip to content

Commit d0d67eb

Browse files
committed
Change the comments to canonical form for clang-tidy
1 parent ab84904 commit d0d67eb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2868,7 +2868,7 @@ bool AsmPrinter::doFinalization(Module &M) {
28682868
Function *InitTrampolineIntrinsic = M.getFunction("llvm.init.trampoline");
28692869
bool HasTrampolineUses =
28702870
InitTrampolineIntrinsic && !InitTrampolineIntrinsic->use_empty();
2871-
MCSection *S = MAI->getStackSection(OutContext, /* Exec */ HasTrampolineUses);
2871+
MCSection *S = MAI->getStackSection(OutContext, /*Exec=*/HasTrampolineUses);
28722872
if (S)
28732873
OutStreamer->switchSection(S);
28742874

llvm/lib/MC/MCELFStreamer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void MCELFStreamer::initSections(bool NoExecStack, const MCSubtargetInfo &STI) {
5454
&STI);
5555

5656
if (NoExecStack)
57-
switchSection(Ctx.getAsmInfo()->getStackSection(Ctx, /* Exec */ false));
57+
switchSection(Ctx.getAsmInfo()->getStackSection(Ctx, /*Exec=*/false));
5858
}
5959

6060
void MCELFStreamer::emitLabel(MCSymbol *S, SMLoc Loc) {

llvm/tools/llvm-mc/llvm-mc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ int main(int argc, char **argv) {
643643
std::unique_ptr<MCCodeEmitter>(CE), *STI));
644644
if (NoExecStack)
645645
Str->switchSection(
646-
Ctx.getAsmInfo()->getStackSection(Ctx, /* Exec */ false));
646+
Ctx.getAsmInfo()->getStackSection(Ctx, /*Exec=*/false));
647647
Str->emitVersionForTarget(TheTriple, VersionTuple(), nullptr,
648648
VersionTuple());
649649
}

0 commit comments

Comments
 (0)