mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 08:06:06 +00:00
Make helper function static.
llvm-svn: 195017
This commit is contained in:
parent
681e37cbf6
commit
a8553497a3
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user