diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-21 21:13:18 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-21 21:13:18 +0000 |
commit | 01808caded68f5b8939e5ebed01b2fecc94955f0 (patch) | |
tree | a5de79857a8dad40192bf1114cc1b4ce8b6e5b16 /llvm/lib/Analysis/DataStructure/GraphChecker.cpp | |
parent | 13f332cd3fcc00c7867db24784a3018aada46835 (diff) | |
download | llvm-01808caded68f5b8939e5ebed01b2fecc94955f0.zip llvm-01808caded68f5b8939e5ebed01b2fecc94955f0.tar.gz llvm-01808caded68f5b8939e5ebed01b2fecc94955f0.tar.bz2 |
Remove trailing whitespace
llvm-svn: 21416
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/GraphChecker.cpp')
-rw-r--r-- | llvm/lib/Analysis/DataStructure/GraphChecker.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/lib/Analysis/DataStructure/GraphChecker.cpp b/llvm/lib/Analysis/DataStructure/GraphChecker.cpp index ba3315b1..fa083d9 100644 --- a/llvm/lib/Analysis/DataStructure/GraphChecker.cpp +++ b/llvm/lib/Analysis/DataStructure/GraphChecker.cpp @@ -1,10 +1,10 @@ //===- GraphChecker.cpp - Assert that various graph properties hold -------===// -// +// // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This pass is used to test DSA with regression tests. It can be used to check @@ -39,7 +39,7 @@ namespace { cl::desc("Specify which DSA pass the -datastructure-gc pass should use"), cl::values(clEnumVal(local, "Local pass"), clEnumVal(bu, "Bottom-up pass"), - clEnumVal(td, "Top-down pass"), + clEnumVal(td, "Top-down pass"), clEnumValEnd), cl::init(local)); cl::opt<bool> @@ -133,7 +133,7 @@ void DSGC::verify(const DSGraph &G) { std::set<std::string> AbortIfMergedS(AbortIfMerged.begin(), AbortIfMerged.end()); std::map<std::string, unsigned> CheckFlagsM; - + for (cl::list<std::string>::iterator I = CheckFlags.begin(), E = CheckFlags.end(); I != E; ++I) { std::string::size_type ColonPos = I->rfind(':'); @@ -158,18 +158,18 @@ void DSGC::verify(const DSGraph &G) { } CheckFlagsM[std::string(I->begin(), I->begin()+ColonPos)] = Flags; } - + // Now we loop over all of the scalars, checking to see if any are collapsed // that are not supposed to be, or if any are merged together. const DSGraph::ScalarMapTy &SM = G.getScalarMap(); std::map<DSNode*, std::string> AbortIfMergedNodes; - + for (DSGraph::ScalarMapTy::const_iterator I = SM.begin(), E = SM.end(); I != E; ++I) if (I->first->hasName() && I->second.getNode()) { const std::string &Name = I->first->getName(); DSNode *N = I->second.getNode(); - + // Verify it is not collapsed if it is not supposed to be... if (N->isNodeCompletelyFolded() && AbortIfCollapsedS.count(Name)) { std::cerr << "Node for value '%" << Name << "' is collapsed: "; |