aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/SourceManager.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2011-10-20 01:45:20 +0000
committerDavid Blaikie <dblaikie@gmail.com>2011-10-20 01:45:20 +0000
commit70042f5d1ca378138f90b7b9384023701f5d03d8 (patch)
tree7d1ddffeb6e88b940ddb5cd28861f2ecf013802e /include/clang/Basic/SourceManager.h
parent98e13eac132c16466b75af3fd2365be09130e9d6 (diff)
Fix all 80 col violations in include/clang/Basic, plus any trailing whitespace in the files I'm touching anyway.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142564 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/SourceManager.h')
-rw-r--r--include/clang/Basic/SourceManager.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/clang/Basic/SourceManager.h b/include/clang/Basic/SourceManager.h
index 52b5c4512e..591d905317 100644
--- a/include/clang/Basic/SourceManager.h
+++ b/include/clang/Basic/SourceManager.h
@@ -569,7 +569,7 @@ class SourceManager : public llvm::RefCountedBase<SourceManager> {
/// source location.
typedef std::map<unsigned, SourceLocation> MacroArgsMap;
- mutable llvm::DenseMap<FileID, MacroArgsMap *> MacroArgsCacheMap;
+ mutable llvm::DenseMap<FileID, MacroArgsMap *> MacroArgsCacheMap;
// SourceManager doesn't support copy construction.
explicit SourceManager(const SourceManager&);
@@ -1205,7 +1205,8 @@ public:
unsigned loaded_sloc_entry_size() const { return LoadedSLocEntryTable.size();}
/// \brief Get a loaded SLocEntry. This is exposed for indexing.
- const SrcMgr::SLocEntry &getLoadedSLocEntry(unsigned Index, bool *Invalid=0) const {
+ const SrcMgr::SLocEntry &getLoadedSLocEntry(unsigned Index,
+ bool *Invalid = 0) const {
assert(Index < LoadedSLocEntryTable.size() && "Invalid index");
if (!SLocEntryLoaded[Index])
ExternalSLocEntries->ReadSLocEntry(-(static_cast<int>(Index) + 2));