[cfe-commits] r38965 - in /cfe/cfe/trunk: AST/Sema.cpp Sema/Sema.cpp
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:26:19 PDT 2007
Author: sabre
Date: Wed Jul 11 11:26:18 2007
New Revision: 38965
URL: http://llvm.org/viewvc/llvm-project?rev=38965&view=rev
Log:
don't abort
Modified:
cfe/cfe/trunk/AST/Sema.cpp
cfe/cfe/trunk/Sema/Sema.cpp
Modified: cfe/cfe/trunk/AST/Sema.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/AST/Sema.cpp?rev=38965&r1=38964&r2=38965&view=diff
==============================================================================
--- cfe/cfe/trunk/AST/Sema.cpp (original)
+++ cfe/cfe/trunk/AST/Sema.cpp Wed Jul 11 11:26:18 2007
@@ -152,8 +152,8 @@
case tok::kw___func__: // primary-expression: __func__ [C99 6.4.2.2]
case tok::kw___FUNCTION__: // primary-expression: __FUNCTION__ [GNU]
case tok::kw___PRETTY_FUNCTION__: // primary-expression: __P..Y_F..N__ [GNU]
- assert(0 && "Unimp so far!");
- return 0;
+ //assert(0 && "FIXME: Unimp so far!");
+ return new DeclExpr(*(Decl*)0);
}
}
Modified: cfe/cfe/trunk/Sema/Sema.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Sema/Sema.cpp?rev=38965&r1=38964&r2=38965&view=diff
==============================================================================
--- cfe/cfe/trunk/Sema/Sema.cpp (original)
+++ cfe/cfe/trunk/Sema/Sema.cpp Wed Jul 11 11:26:18 2007
@@ -152,8 +152,8 @@
case tok::kw___func__: // primary-expression: __func__ [C99 6.4.2.2]
case tok::kw___FUNCTION__: // primary-expression: __FUNCTION__ [GNU]
case tok::kw___PRETTY_FUNCTION__: // primary-expression: __P..Y_F..N__ [GNU]
- assert(0 && "Unimp so far!");
- return 0;
+ //assert(0 && "FIXME: Unimp so far!");
+ return new DeclExpr(*(Decl*)0);
}
}
More information about the cfe-commits
mailing list