зеркало из https://github.com/microsoft/clang-1.git
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:
Родитель
87cf5ac1b0
Коммит
8ce68d2329
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче