diff --git a/include/llvm/PassManagers.h b/include/llvm/PassManagers.h index cb94406957d..170b992c85f 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 d48c198bbff..db03842bcea 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.