]> granicus.if.org Git - clang/commitdiff
Make helper function static.
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 18 Nov 2013 16:50:24 +0000 (16:50 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Mon, 18 Nov 2013 16:50:24 +0000 (16:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195017 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Parse/Parser.cpp

index 60e83ac221c892ae073abb4a15b4386309cf1577..beae8f04b67123efd8e7793ad7c55f286559c15a 100644 (file)
@@ -253,7 +253,7 @@ void Parser::ConsumeExtraSemi(ExtraSemiKind Kind, unsigned TST) {
 // Error recovery.
 //===----------------------------------------------------------------------===//
 
-bool HasFlagsSet(Parser::SkipUntilFlags L, Parser::SkipUntilFlags R) {
+static bool HasFlagsSet(Parser::SkipUntilFlags L, Parser::SkipUntilFlags R) {
   return (static_cast<unsigned>(L) & static_cast<unsigned>(R)) != 0;
 }