From e6acf36dca9864c6ead9113f0322f174469810cc Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 11 Jul 2008 22:51:32 +0000 Subject: [PATCH] Fix spelling of "hierarchy" in comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53489 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/LoopPass.h | 4 ++-- include/llvm/PassManagers.h | 4 ++-- lib/Analysis/LoopPass.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/llvm/Analysis/LoopPass.h b/include/llvm/Analysis/LoopPass.h index ef7c71380bc..60ad0d95190 100644 --- a/include/llvm/Analysis/LoopPass.h +++ b/include/llvm/Analysis/LoopPass.h @@ -68,7 +68,7 @@ class LoopPass : public Pass { /// SimpleAnalysis - Provides simple interface to update analysis info /// maintained by various passes. Note, if required this interface can /// be extracted into a separate abstract class but it would require - /// additional use of multiple inheritance in Pass class hierarcy, something + /// additional use of multiple inheritance in Pass class hierarchy, something /// we are trying to avoid. /// Each loop pass can override these simple analysis hooks to update @@ -134,7 +134,7 @@ public: /// SimpleAnalysis - Provides simple interface to update analysis info /// maintained by various passes. Note, if required this interface can /// be extracted into a separate abstract class but it would require - /// additional use of multiple inheritance in Pass class hierarcy, something + /// additional use of multiple inheritance in Pass class hierarchy, something /// we are trying to avoid. /// cloneBasicBlockSimpleAnalysis - Invoke cloneBasicBlockAnalysis hook for diff --git a/include/llvm/PassManagers.h b/include/llvm/PassManagers.h index d37691311cf..bac962612f9 100644 --- a/include/llvm/PassManagers.h +++ b/include/llvm/PassManagers.h @@ -28,8 +28,8 @@ // // Pass Manager Infrastructure uses multiple pass managers. They are // PassManager, FunctionPassManager, MPPassManager, FPPassManager, BBPassManager. -// This class hierarcy uses multiple inheritance but pass managers do not derive -// from another pass manager. +// This class hierarchy uses multiple inheritance but pass managers do not +// derive from another pass manager. // // PassManager and FunctionPassManager are two top-level pass manager that // represents the external interface of this entire pass manager infrastucture. diff --git a/lib/Analysis/LoopPass.cpp b/lib/Analysis/LoopPass.cpp index 4cbafab7b07..460a1b04f70 100644 --- a/lib/Analysis/LoopPass.cpp +++ b/lib/Analysis/LoopPass.cpp @@ -32,7 +32,7 @@ LPPassManager::LPPassManager(int Depth) CurrentLoop = NULL; } -/// Delete loop from the loop queue and loop hierarcy (LoopInfo). +/// Delete loop from the loop queue and loop hierarchy (LoopInfo). void LPPassManager::deleteLoopFromQueue(Loop *L) { if (Loop *ParentLoop = L->getParentLoop()) { // Not a top-level loop. -- 2.34.1