- Apr 30, 2010
-
-
Ted Kremenek authored
fatal error has occurred. llvm-svn: 102778
-
John McCall authored
if *none* of the successors of the call expression is the exit block. This matters when a call of bool type is the condition of (say) a while loop in a function with no statements after the loop. This *can* happen in C, but it's much more common in C++ because of overloaded operators. Suppresses some substantial number of spurious -Wmissing-noreturn warnings. llvm-svn: 102696
-
- Apr 17, 2010
-
-
Douglas Gregor authored
do *not* suggest that the function could be attribute 'noreturn'; overridden functions may end up returning. llvm-svn: 101572
-
- Apr 08, 2010
-
-
Ted Kremenek authored
unless they are used. I discussed this with Daniel Dunbar, and we agreed that this provides an inconsistent warnings experience for the user and that there were genuine cases where we wouldn't want to do this optimization. llvm-svn: 100800
-
Ted Kremenek authored
llvm-svn: 100750
-
Ted Kremenek authored
llvm-svn: 100730
-
- Mar 30, 2010
-
-
Rafael Espindola authored
This introduces FunctionType::ExtInfo to hold the calling convention and the noreturn attribute. The next patch will extend it to include the regparm attribute and fix the bug. llvm-svn: 99920
-
- Mar 29, 2010
-
-
Rafael Espindola authored
This patch moves some methods from QualType to Type and changes the users to use -> instead of . llvm-svn: 99805
-
- Mar 23, 2010
-
-
Ted Kremenek authored
encounter a definition. llvm-svn: 99243
-
Ted Kremenek authored
are called (transitively) by regular functions/blocks within a translation untion. llvm-svn: 99233
-
- Mar 20, 2010
-
-
Ted Kremenek authored
declaration is in a system header. llvm-svn: 99087
-
Ted Kremenek authored
This object controls when the warnings are executed, allowing the client code in Sema to selectively disable warnings as needed. Centralizing the logic for analysis-based warnings allows us to optimize when and how they are run. Along the way, remove the redundant logic for the 'check fall-through' warning for blocks; now the same logic is used for both blocks and functions. llvm-svn: 99085
-