Skip to content

Commit b4d0348

Browse files
committed
TMP
1 parent 34c52f3 commit b4d0348

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

clang-tools-extra/clang-tidy/misc/UseInternalLinkageCheck.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ AST_MATCHER_P(Decl, isAllRedeclsInMainFile, FileExtensionsSet,
7474
});
7575
}
7676

77-
AST_POLYMORPHIC_MATCHER(isExternStorageClass,
78-
AST_POLYMORPHIC_SUPPORTED_TYPES(FunctionDecl,
79-
VarDecl)) {
80-
return Node.getStorageClass() == SC_Extern;
81-
}
77+
// AST_POLYMORPHIC_MATCHER(isExternStorageClass,
78+
// AST_POLYMORPHIC_SUPPORTED_TYPES(FunctionDecl,
79+
// VarDecl)) {
80+
// return Node.getStorageClass() == SC_Extern;
81+
// }
8282

8383
AST_MATCHER(FunctionDecl, isAllocationOrDeallocationOverloadedFunction) {
8484
// [basic.stc.dynamic.allocation]
@@ -115,7 +115,7 @@ void UseInternalLinkageCheck::registerMatchers(MatchFinder *Finder) {
115115
// 1. internal linkage
116116
isStaticStorageClass(), isInAnonymousNamespace(),
117117
// 2. explicit external linkage
118-
isExternStorageClass(), isExternC(),
118+
// isExternStorageClass(), isExternC(),
119119
// 3. template
120120
isExplicitTemplateSpecialization(),
121121
hasAncestor(decl(anyOf(

0 commit comments

Comments
 (0)