summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/ContinuationIndenter.cpp
diff options
context:
space:
mode:
authorEric Liu <ioeric@google.com>2016-04-28 07:52:03 +0000
committerEric Liu <ioeric@google.com>2016-04-28 07:52:03 +0000
commit635423e61869a0997ec2eb853c1e1c92eaa8352d (patch)
treeeb2c1d0e2de0f06c363b4882c814b9afa2c3b43e /clang/lib/Format/ContinuationIndenter.cpp
parentc5cad396dde973c4a7251a39daf685f7f6dc6f14 (diff)
downloadbcm5719-llvm-635423e61869a0997ec2eb853c1e1c92eaa8352d.tar.gz
bcm5719-llvm-635423e61869a0997ec2eb853c1e1c92eaa8352d.zip
Addressed reviewer's post-submission comments from http://reviews.llvm.org/D18551.
Summary: Make SourceManager in Environment, WhitespaceManager, and FormatTokenAnalyzer etc constant members. Reviewers: djasper, klimek Subscribers: cfe-commits, klimek Differential Revision: http://reviews.llvm.org/D19587 llvm-svn: 267859
Diffstat (limited to 'clang/lib/Format/ContinuationIndenter.cpp')
-rw-r--r--clang/lib/Format/ContinuationIndenter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Format/ContinuationIndenter.cpp b/clang/lib/Format/ContinuationIndenter.cpp
index bfcb8e562e3..f4d5ba62035 100644
--- a/clang/lib/Format/ContinuationIndenter.cpp
+++ b/clang/lib/Format/ContinuationIndenter.cpp
@@ -64,7 +64,7 @@ static bool startsNextParameter(const FormatToken &Current,
ContinuationIndenter::ContinuationIndenter(const FormatStyle &Style,
const AdditionalKeywords &Keywords,
- SourceManager &SourceMgr,
+ const SourceManager &SourceMgr,
WhitespaceManager &Whitespaces,
encoding::Encoding Encoding,
bool BinPackInconclusiveFunctions)
OpenPOWER on IntegriCloud