[cfe-commits] r39280 - /cfe/cfe/trunk/Parse/DeclSpec.cpp
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:42:25 PDT 2007
Author: sabre
Date: Wed Jul 11 11:42:25 2007
New Revision: 39280
URL: http://llvm.org/viewvc/llvm-project?rev=39280&view=rev
Log:
make file-static function be a static declspec method.
Modified:
cfe/cfe/trunk/Parse/DeclSpec.cpp
Modified: cfe/cfe/trunk/Parse/DeclSpec.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Parse/DeclSpec.cpp?rev=39280&r1=39279&r2=39280&view=diff
==============================================================================
--- cfe/cfe/trunk/Parse/DeclSpec.cpp (original)
+++ cfe/cfe/trunk/Parse/DeclSpec.cpp Wed Jul 11 11:42:25 2007
@@ -36,7 +36,7 @@
return Res;
}
-static const char *getSpecifierName(DeclSpec::SCS S) {
+const char *DeclSpec::getSpecifierName(DeclSpec::SCS S) {
switch (S) {
default: assert(0 && "Unknown typespec!");
case DeclSpec::SCS_unspecified: return "unspecified";
@@ -49,7 +49,7 @@
}
static bool BadSpecifier(DeclSpec::SCS S, const char *&PrevSpec) {
- PrevSpec = getSpecifierName(S);
+ PrevSpec = DeclSpec::getSpecifierName(S);
return true;
}
More information about the cfe-commits
mailing list