summaryrefslogtreecommitdiff
diff options
authorStephen Wilson <[email protected]>2010-07-28 18:56:19 -0400
committerStephen Wilson <[email protected]>2010-07-28 18:56:19 -0400
commitf66c6ad0fca1679aaf25fccfd598af4456ee219a (patch)
treeda4499db69c523879678885d42a966db8d60830c
parent18b79259920be416f68bc1c1ec6df12e64370f0a (diff)
downloadcomma-master.tar.gz
Format fix.HEADmaster
-rw-r--r--tools/driver/SourceManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/driver/SourceManager.cpp b/tools/driver/SourceManager.cpp
index cdacdb2..9366933 100644
--- a/tools/driver/SourceManager.cpp
+++ b/tools/driver/SourceManager.cpp
@@ -49,7 +49,8 @@ SourceManager::SourceManager(IdentifierPool &IdPool,
}
}
-SourceItem *SourceManager::getOrCreateSourceItem(llvm::sys::Path &path) {
+SourceItem *SourceManager::getOrCreateSourceItem(llvm::sys::Path &path)
+{
const std::string &key = path.str();
SourceMap::iterator I = SourceTable.find(key);
if (I != SourceTable.end())