Mark static variables static; NFC.
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Mon, 7 Aug 2017 20:26:33 +0000 (20:26 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Mon, 7 Aug 2017 20:26:33 +0000 (20:26 +0000)
llvm-svn: 310299

clang/lib/AST/Decl.cpp

index 573a98e..26f194b 100644 (file)
@@ -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