aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/PassManagers.h4
-rw-r--r--lib/VMCore/PassManager.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/PassManagers.h b/include/llvm/PassManagers.h
index cb94406957..170b992c85 100644
--- a/include/llvm/PassManagers.h
+++ b/include/llvm/PassManagers.h
@@ -1,4 +1,4 @@
-//===- PassManager.cpp - LLVM Pass Infrastructure Implementation ----------===//
+//===- llvm/PassManager.h - Pass Inftrastructre classes --------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@@ -7,7 +7,7 @@
//
//===----------------------------------------------------------------------===//
//
-// This file implements the LLVM Pass Manager infrastructure.
+// This file declares the LLVM Pass Manager infrastructure.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/VMCore/PassManager.cpp b/lib/VMCore/PassManager.cpp
index d48c198bbf..db03842bce 100644
--- a/lib/VMCore/PassManager.cpp
+++ b/lib/VMCore/PassManager.cpp
@@ -559,7 +559,7 @@ void PMDataManager::removeDeadPasses(Pass *P, std::string &Msg) {
/// Add pass P into the PassVector. Update
/// AvailableAnalysis appropriately if ProcessAnalysis is true.
void PMDataManager::add(Pass *P,
- bool ProcessAnalysis) {
+ bool ProcessAnalysis) {
// This manager is going to manage pass P. Set up analysis resolver
// to connect them.