Skip to content

Commit 2938d91

Browse files
committed
clang-format
1 parent 6c244a0 commit 2938d91

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

clang/lib/CodeGen/BackendUtil.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -798,8 +798,8 @@ static void addSanitizers(const Triple &TargetTriple,
798798
LowerAllowCheckOptions Opts;
799799
// We want to call it after inline, which is about OptimizerEarlyEPCallback.
800800
PB.registerOptimizerEarlyEPCallback([&Opts](ModulePassManager &MPM,
801-
OptimizationLevel Level,
802-
ThinOrFullLTOPhase Phase) {
801+
OptimizationLevel Level,
802+
ThinOrFullLTOPhase Phase) {
803803
MPM.addPass(createModuleToFunctionPassAdaptor(LowerAllowCheckPass(Opts)));
804804
});
805805
}

llvm/include/llvm/Transforms/Instrumentation/LowerAllowCheckPass.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121
namespace llvm {
2222

2323
struct LowerAllowCheckOptions {
24-
std::vector<double> placeholder; // TODO: cutoffs
24+
std::vector<double> placeholder; // TODO: cutoffs
2525
};
2626

2727
// This pass is responsible for removing optional traps, like llvm.ubsantrap
2828
// from the hot code.
2929
class LowerAllowCheckPass : public PassInfoMixin<LowerAllowCheckPass> {
3030
public:
3131
explicit LowerAllowCheckPass(LowerAllowCheckOptions Options)
32-
: Options(Options){};
32+
: Options(Options) {};
3333
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
3434

3535
static bool IsRequested();

llvm/lib/Passes/PassBuilder.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,8 @@ Expected<EmbedBitcodeOptions> parseEmbedBitcodePassOptions(StringRef Params) {
821821
return Result;
822822
}
823823

824-
Expected<LowerAllowCheckOptions> parseLowerAllowCheckPassOptions(StringRef Params) {
824+
Expected<LowerAllowCheckOptions>
825+
parseLowerAllowCheckPassOptions(StringRef Params) {
825826
LowerAllowCheckOptions Result;
826827
while (!Params.empty()) {
827828
StringRef ParamName;

0 commit comments

Comments
 (0)