Skip to content

Commit cd5afc5

Browse files
committed
Minor change: Fix the typo in RegionPass.h and RegionPass.cpp.
llvm-svn: 130920
1 parent e9af37d commit cd5afc5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/include/llvm/Analysis/RegionPass.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class RGPassManager : public FunctionPass, public PMDataManager {
109109
/// @brief Print passes managed by this manager.
110110
void dumpPassStructure(unsigned Offset);
111111

112-
/// @brief Print passes contained by this manager.
112+
/// @brief Get passes contained by this manager.
113113
Pass *getContainedPass(unsigned N) {
114114
assert(N < PassVector.size() && "Pass number out of range!");
115115
Pass *FP = static_cast<Pass *>(PassVector[N]);

llvm/lib/Analysis/RegionPass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ void RegionPass::assignPassManager(PMStack &PMS,
249249
assert (!PMS.empty() && "Unable to create Region Pass Manager");
250250
PMDataManager *PMD = PMS.top();
251251

252-
// [1] Create new Call Graph Pass Manager
252+
// [1] Create new Region Pass Manager
253253
RGPM = new RGPassManager(PMD->getDepth() + 1);
254254
RGPM->populateInheritedAnalysis(PMS);
255255

0 commit comments

Comments
 (0)