[PM] While I'm here, fix a few other clang-format issues. Pulls some

lines under 80-columns, etc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203434 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chandler Carruth 2014-03-10 02:12:14 +00:00
parent d11898db4c
commit 1b497a9fc4
2 changed files with 6 additions and 6 deletions

View File

@ -57,7 +57,8 @@ ModuleAnalysisManager::getResultImpl(void *PassID, Module *M) {
ModuleAnalysisManager::ResultConceptT *
ModuleAnalysisManager::getCachedResultImpl(void *PassID, Module *M) const {
ModuleAnalysisResultMapT::const_iterator RI = ModuleAnalysisResults.find(PassID);
ModuleAnalysisResultMapT::const_iterator RI =
ModuleAnalysisResults.find(PassID);
return RI == ModuleAnalysisResults.end() ? 0 : &*RI->second;
}
@ -76,7 +77,8 @@ void ModuleAnalysisManager::invalidateImpl(Module *M,
ModuleAnalysisResults.erase(I);
}
PreservedAnalyses FunctionPassManager::run(Function *F, FunctionAnalysisManager *AM) {
PreservedAnalyses FunctionPassManager::run(Function *F,
FunctionAnalysisManager *AM) {
PreservedAnalyses PA = PreservedAnalyses::all();
if (DebugPM)

View File

@ -58,7 +58,7 @@ public:
int FunctionCount;
};
static void *ID() { return (void * )&PassID; }
static void *ID() { return (void *)&PassID; }
TestModuleAnalysis(int &Runs) : Runs(Runs) {}
@ -92,9 +92,7 @@ struct TestModulePass {
};
struct TestPreservingModulePass {
PreservedAnalyses run(Module *M) {
return PreservedAnalyses::all();
}
PreservedAnalyses run(Module *M) { return PreservedAnalyses::all(); }
static StringRef name() { return "TestPreservingModulePass"; }
};