Skip to content

clang-tidy: Identifier rename ControlFlow#452

Merged
pdschubert merged 5 commits intodevelopmentfrom
f-ClangTidyIdentifierRenameControlFlow
Jan 4, 2022
Merged

clang-tidy: Identifier rename ControlFlow#452
pdschubert merged 5 commits intodevelopmentfrom
f-ClangTidyIdentifierRenameControlFlow

Conversation

@MMory
Copy link
Copy Markdown
Member

@MMory MMory commented Dec 23, 2021

please merge after #451

@MMory MMory requested review from pdschubert and vulder December 23, 2021 16:48
Comment thread lib/PhasarLLVM/ControlFlow/Resolver/Resolver.cpp Outdated
Comment thread unittests/PhasarLLVM/ControlFlow/LLVMBasedICFGGlobCtorDtorTest.cpp Outdated
@vulder vulder force-pushed the f-ClangTidyIdentifierRenameControlFlow branch from 6279a2b to 8efefad Compare December 24, 2021 14:03
Comment on lines +36 to +37
ICFGPlugin(ProjectIRDB &IRDB, const std::vector<std::string> &EntryPoints)
: IRDB(IRDB), EntryPoints(EntryPoints) {}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why would we not move the EntryPoints here?

Suggested change
ICFGPlugin(ProjectIRDB &IRDB, const std::vector<std::string> &EntryPoints)
: IRDB(IRDB), EntryPoints(EntryPoints) {}
ICFGPlugin(ProjectIRDB &IRDB, std::vector<std::string> EntryPoints)
: IRDB(IRDB), EntryPoints(std::move(EntryPoints)) {}

}

auto getConstantBitcastArgument = [](llvm::Value *V) -> llvm::Value * {
auto getConstantBitcastArgument = // NOLINT
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the problem here?

Comment on lines +949 to 951
// auto It =
GlobalDtors.emplace(0, RegisteredDtorCaller);
// GlobalDtorFn.try_emplace(RegisteredDtorCaller, it);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the commented code?

@pdschubert pdschubert merged commit 1308770 into development Jan 4, 2022
@pdschubert pdschubert deleted the f-ClangTidyIdentifierRenameControlFlow branch January 4, 2022 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants