From: George Burgess IV Date: Mon, 7 Aug 2017 20:26:33 +0000 (+0000) Subject: Mark static variables static; NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d73b9aac80504575ecd5ff6461ff69eb067e349f;p=clang Mark static variables static; NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@310299 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/Decl.cpp b/lib/AST/Decl.cpp index 573a98efe9..26f194bc1c 100644 --- a/lib/AST/Decl.cpp +++ b/lib/AST/Decl.cpp @@ -99,8 +99,8 @@ TranslationUnitDecl::TranslationUnitDecl(ASTContext &ctx) // and 'matcher' is a type only matters when looking for attributes // and settings from the immediate context. -const unsigned IgnoreExplicitVisibilityBit = 2; -const unsigned IgnoreAllVisibilityBit = 4; +const static unsigned IgnoreExplicitVisibilityBit = 2; +const static unsigned IgnoreAllVisibilityBit = 4; /// Kinds of LV computation. The linkage side of the computation is /// always the same, but different things can change how visibility is