]> granicus.if.org Git - clang/commitdiff
Handle "__private_extern__" storage class when printing FunctionDecls.
authorTed Kremenek <kremenek@apple.com>
Tue, 15 Apr 2008 03:57:09 +0000 (03:57 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 15 Apr 2008 03:57:09 +0000 (03:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49706 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/ASTConsumers.cpp

index d05a307087b1866bafa20f6b602b86dda8fa02a4..3f4b4e23d495c0d8ee5c9f835ccf692459083011 100644 (file)
@@ -121,6 +121,7 @@ void DeclPrinter::PrintFunctionDeclStart(FunctionDecl *FD) {
   case FunctionDecl::None: break;
   case FunctionDecl::Extern: Out << "extern "; break;
   case FunctionDecl::Static: Out << "static "; break;
+  case FunctionDecl::PrivateExtern: Out << "__private_extern__ "; break;
   }
   
   if (FD->isInline())