r310299 - Mark static variables static; NFC.
George Burgess IV via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 7 13:26:33 PDT 2017
Author: gbiv
Date: Mon Aug 7 13:26:33 2017
New Revision: 310299
URL: http://llvm.org/viewvc/llvm-project?rev=310299&view=rev
Log:
Mark static variables static; NFC.
Modified:
cfe/trunk/lib/AST/Decl.cpp
Modified: cfe/trunk/lib/AST/Decl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Decl.cpp?rev=310299&r1=310298&r2=310299&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Decl.cpp (original)
+++ cfe/trunk/lib/AST/Decl.cpp Mon Aug 7 13:26:33 2017
@@ -99,8 +99,8 @@ TranslationUnitDecl::TranslationUnitDecl
// 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
More information about the cfe-commits
mailing list