diff --git a/clang/lib/Sema/AttributeList.cpp b/clang/lib/Sema/AttributeList.cpp index 8755a501c954..c9807723f064 100644 --- a/clang/lib/Sema/AttributeList.cpp +++ b/clang/lib/Sema/AttributeList.cpp @@ -155,7 +155,7 @@ namespace { #include "clang/Sema/AttrParsedAttrImpl.inc" } -const ParsedAttrInfo& getInfo(const AttributeList& A) { +static const ParsedAttrInfo &getInfo(const AttributeList &A) { return AttrInfoMap[A.getKind()]; }