[PM] Re-clang-format much of this code as the code has changed some and

so has clang-format. Notably, this fixes a bunch of formatting in the
CGSCC pass manager side of things that has been improved in clang-format
recently.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225743 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chandler Carruth
2015-01-13 00:36:47 +00:00
parent 47952358ce
commit 9136fdd9b7
4 changed files with 22 additions and 25 deletions

View File

@@ -203,8 +203,7 @@ public:
private:
// Pull in the concept type and model template specialized for modules.
typedef detail::PassConcept<Module, ModuleAnalysisManager>
ModulePassConcept;
typedef detail::PassConcept<Module, ModuleAnalysisManager> ModulePassConcept;
template <typename PassT>
struct ModulePassModel
: detail::PassModel<Module, ModuleAnalysisManager, PassT> {
@@ -474,8 +473,7 @@ private:
class FunctionAnalysisManager
: public detail::AnalysisManagerBase<FunctionAnalysisManager, Function> {
friend class detail::AnalysisManagerBase<FunctionAnalysisManager, Function>;
typedef detail::AnalysisManagerBase<FunctionAnalysisManager, Function>
BaseT;
typedef detail::AnalysisManagerBase<FunctionAnalysisManager, Function> BaseT;
typedef BaseT::ResultConceptT ResultConceptT;
typedef BaseT::PassConceptT PassConceptT;
@@ -830,8 +828,7 @@ template <typename AnalysisT> struct InvalidateAnalysisPass {
/// analysis passes to be re-run to produce fresh results if any are needed.
struct InvalidateAllAnalysesPass {
/// \brief Run this pass over some unit of IR.
template <typename T>
PreservedAnalyses run(T &&Arg) {
template <typename T> PreservedAnalyses run(T &&Arg) {
return PreservedAnalyses::none();
}