Fix "error: explicit template specialization cannot have a storage class"

with gcc 4.4, patch by Shantonu Sen!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48155 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2008-03-10 17:06:40 +00:00
Родитель 87cf5ac1b0
Коммит 8ce68d2329
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -28,7 +28,7 @@ static inline const PostStmt& GetLocation(ITERATOR I) {
}
template <>
static inline const PostStmt& GetLocation(GRExprEngine::undef_arg_iterator I) {
inline const PostStmt& GetLocation(GRExprEngine::undef_arg_iterator I) {
return cast<PostStmt>(I->first->getLocation());
}
@ -55,8 +55,8 @@ static void EmitDiag(Diagnostic& Diag, SourceManager& SrcMgr,
}
template <typename ITERATOR>
static void EmitWarning(Diagnostic& Diag, SourceManager& SrcMgr,
ITERATOR I, ITERATOR E, const char* msg) {
void EmitWarning(Diagnostic& Diag, SourceManager& SrcMgr,
ITERATOR I, ITERATOR E, const char* msg) {
std::ostringstream Out;
Out << "[CHECKER] " << msg;