r191615 - Make helper function static.

Benjamin Kramer benny.kra at googlemail.com
Sat Sep 28 08:08:42 PDT 2013


Author: d0k
Date: Sat Sep 28 10:08:41 2013
New Revision: 191615

URL: http://llvm.org/viewvc/llvm-project?rev=191615&view=rev
Log:
Make helper function static.

Modified:
    cfe/trunk/lib/Sema/AttributeList.cpp

Modified: cfe/trunk/lib/Sema/AttributeList.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/AttributeList.cpp?rev=191615&r1=191614&r2=191615&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/AttributeList.cpp (original)
+++ cfe/trunk/lib/Sema/AttributeList.cpp Sat Sep 28 10:08:41 2013
@@ -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()];
 }
 





More information about the cfe-commits mailing list