diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-03-09 16:47:52 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-03-09 16:47:52 +0000 |
commit | 8407df72a3b7a6bee199ce321fa4731dc8be241b (patch) | |
tree | f8b9822aa347c52ebe19ddb213caf297edf54c0f /clang/lib/Format | |
parent | 58ea3e35d0139c3afd5a07a0ca9a7fcf70ac6eb2 (diff) | |
download | bcm5719-llvm-8407df72a3b7a6bee199ce321fa4731dc8be241b.tar.gz bcm5719-llvm-8407df72a3b7a6bee199ce321fa4731dc8be241b.zip |
Make helper functions static. NFC.
Found by -Wmissing-prototypes.
llvm-svn: 231668
Diffstat (limited to 'clang/lib/Format')
-rw-r--r-- | clang/lib/Format/UnwrappedLineParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Format/UnwrappedLineParser.cpp b/clang/lib/Format/UnwrappedLineParser.cpp index 800ec77f3ea..52224180d5b 100644 --- a/clang/lib/Format/UnwrappedLineParser.cpp +++ b/clang/lib/Format/UnwrappedLineParser.cpp @@ -605,7 +605,7 @@ void UnwrappedLineParser::parsePPUnknown() { // Here we blacklist certain tokens that are not usually the first token in an // unwrapped line. This is used in attempt to distinguish macro calls without // trailing semicolons from other constructs split to several lines. -bool tokenCanStartNewLine(clang::Token Tok) { +static bool tokenCanStartNewLine(const clang::Token &Tok) { // Semicolon can be a null-statement, l_square can be a start of a macro or // a C++11 attribute, but this doesn't seem to be common. return Tok.isNot(tok::semi) && Tok.isNot(tok::l_brace) && |