During code review, I found everyone's style is considerably different, but which not in domain of good or bad. I will list up what I found here:
What namespaces to use with using namespace? std and llvm combination seemed reasonable.
#ifndef#endif patterns.
I'm curious about this: for our new pass, we declare new class such as BranchPredictPass. Do we need to write initializer explicitly even we want to use default initializer?
Naming convention, indentation level, spacing.
Commit message. I heard that best practice for commit message is this: Sentence 'this commit will (your commit message).' should make sense.
I think we have to make some agreement about these issues.
During code review, I found everyone's style is considerably different, but which not in domain of good or bad. I will list up what I found here:
using namespace
?std
andllvm
combination seemed reasonable.#ifndef
#endif
patterns.BranchPredictPass
. Do we need to write initializer explicitly even we want to use default initializer?I think we have to make some agreement about these issues.