summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/Decl.cpp
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2017-08-07 20:26:33 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2017-08-07 20:26:33 +0000
commitbc30b699b73f44e35c47fa4a9f4ba8cbd219d859 (patch)
tree3f25b61e3bffa2a714ac3338d73b26d7851154df /clang/lib/AST/Decl.cpp
parent489a7a09ad0c1d762e117f82253f48f2a9010932 (diff)
downloadbcm5719-llvm-bc30b699b73f44e35c47fa4a9f4ba8cbd219d859.tar.gz
bcm5719-llvm-bc30b699b73f44e35c47fa4a9f4ba8cbd219d859.zip
Mark static variables static; NFC.
llvm-svn: 310299
Diffstat (limited to 'clang/lib/AST/Decl.cpp')
-rw-r--r--clang/lib/AST/Decl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/AST/Decl.cpp b/clang/lib/AST/Decl.cpp
index 573a98efe98..26f194bc1ca 100644
--- a/clang/lib/AST/Decl.cpp
+++ b/clang/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
OpenPOWER on IntegriCloud