From 6ad3cdd401f35217aaa7b00fe765247aaf133cf2 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sat, 28 Sep 2013 15:08:41 +0000 Subject: [PATCH] Make helper function static. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191615 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/AttributeList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Sema/AttributeList.cpp b/lib/Sema/AttributeList.cpp index 8755a501c9..c9807723f0 100644 --- a/lib/Sema/AttributeList.cpp +++ b/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()]; } -- 2.40.0