mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
Apply clang-format globally
This commit applies our `clang-format` rules globally. From now on, all commits should respect our configuration file. Pretty large change.
This commit is contained in:
@@ -36,7 +36,7 @@ char StackAnalysis<true>::ID = 0;
|
||||
namespace {
|
||||
const char *Name = "Stack Analysis Pass";
|
||||
static RegisterPass<StackAnalysis<true>> X("sa", Name, true, true);
|
||||
}
|
||||
} // namespace
|
||||
|
||||
template<>
|
||||
char StackAnalysis<false>::ID = 0;
|
||||
@@ -87,8 +87,7 @@ bool StackAnalysis<AnalyzeABI>::runOnFunction(Function &F) {
|
||||
Functions.emplace_back(&BB, true);
|
||||
} else if (not IsLoadAddress
|
||||
and (IsUnusedGlobalData
|
||||
|| (IsSETNotToPC
|
||||
and not IsSETToPC
|
||||
|| (IsSETNotToPC and not IsSETToPC
|
||||
and not IsReturnAddress))) {
|
||||
// TODO: keep IsReturnAddress?
|
||||
// Consider addresses found in global data that have not been used in SET
|
||||
|
||||
Reference in New Issue
Block a user