summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-01-02 22:51:44 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-01-02 22:51:44 +0000
commitce089831106744d917c01a4d7b50536141594643 (patch)
tree7206b33eb2592595108a16735d2b9186aa312a2a /llvm
parentb9a23c91559a86dcdf7c6b9eba3e9fcbb383be6e (diff)
downloadbcm5719-llvm-ce089831106744d917c01a4d7b50536141594643.tar.gz
bcm5719-llvm-ce089831106744d917c01a4d7b50536141594643.zip
[PM] Fix some formatting where clang-format has improved recently.
llvm-svn: 225092
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/IR/PassManager.h9
-rw-r--r--llvm/lib/IR/PassManager.cpp4
2 files changed, 7 insertions, 6 deletions
diff --git a/llvm/include/llvm/IR/PassManager.h b/llvm/include/llvm/IR/PassManager.h
index 45985e15a51..5627a202556 100644
--- a/llvm/include/llvm/IR/PassManager.h
+++ b/llvm/include/llvm/IR/PassManager.h
@@ -487,7 +487,7 @@ public:
private:
// Pull in the concept type and model template specialized for modules.
typedef detail::PassConcept<Module *, ModuleAnalysisManager>
- ModulePassConcept;
+ ModulePassConcept;
template <typename PassT>
struct ModulePassModel
: detail::PassModel<Module *, ModuleAnalysisManager, PassT> {
@@ -527,7 +527,7 @@ public:
private:
// Pull in the concept type and model template specialized for functions.
typedef detail::PassConcept<Function *, FunctionAnalysisManager>
- FunctionPassConcept;
+ FunctionPassConcept;
template <typename PassT>
struct FunctionPassModel
: detail::PassModel<Function *, FunctionAnalysisManager, PassT> {
@@ -785,7 +785,7 @@ private:
/// half of a bijection and provides storage for the actual result concept.
typedef std::list<std::pair<
void *, std::unique_ptr<detail::AnalysisResultConcept<Function *>>>>
- FunctionAnalysisResultListT;
+ FunctionAnalysisResultListT;
/// \brief Map type from function pointer to our custom list type.
typedef DenseMap<Function *, FunctionAnalysisResultListT>
@@ -972,7 +972,8 @@ public:
: Pass(Arg.Pass) {}
ModuleToFunctionPassAdaptor(ModuleToFunctionPassAdaptor &&Arg)
: Pass(std::move(Arg.Pass)) {}
- friend void swap(ModuleToFunctionPassAdaptor &LHS, ModuleToFunctionPassAdaptor &RHS) {
+ friend void swap(ModuleToFunctionPassAdaptor &LHS,
+ ModuleToFunctionPassAdaptor &RHS) {
using std::swap;
swap(LHS.Pass, RHS.Pass);
}
diff --git a/llvm/lib/IR/PassManager.cpp b/llvm/lib/IR/PassManager.cpp
index 2e2a7cb4956..39270edc387 100644
--- a/llvm/lib/IR/PassManager.cpp
+++ b/llvm/lib/IR/PassManager.cpp
@@ -16,8 +16,8 @@
using namespace llvm;
static cl::opt<bool>
-DebugPM("debug-pass-manager", cl::Hidden,
- cl::desc("Print pass management debugging information"));
+ DebugPM("debug-pass-manager", cl::Hidden,
+ cl::desc("Print pass management debugging information"));
PreservedAnalyses ModulePassManager::run(Module *M, ModuleAnalysisManager *AM) {
PreservedAnalyses PA = PreservedAnalyses::all();
OpenPOWER on IntegriCloud