- Feb 19, 2011
-
-
John McCall authored
without defining them. This should be an error, but I'm paranoid about "uses" that end up not actually requiring a definition. I'll revisit later. Also, teach IR generation to not set internal linkage on variable declarations, just for safety's sake. Doing so produces an invalid module if the variable is not ultimately defined. Also, fix several places in the test suite where we were using internal functions without definitions. llvm-svn: 126016
-
Argyrios Kyrtzidis authored
llvm-svn: 126013
-
Ted Kremenek authored
This yields a minor memory reduction (for larger functions) on Sqlite at the cost of slightly higher memory usage on some functions because of the increased size of GRState (which can be optimized). I expect the real memory savings from this enhancement will come when we aggressively canabilize more of the ExplodedGraph. llvm-svn: 126012
-
Argyrios Kyrtzidis authored
llvm-svn: 126007
-
Chandler Carruth authored
diagnostics, resolving PR9227. Patch originally by Mihai Rusu and Stephen Hines with some minimal style tweaks from me. llvm-svn: 125999
-
Chandler Carruth authored
diagnostics. Patch by Stephen Hines. llvm-svn: 125998
-
Chandler Carruth authored
abstract class type. Patch by Stephen Hines, with a wording tweak from Doug applied by me. llvm-svn: 125996
-
Chandler Carruth authored
a non-pointer on the two sides of a conditional expression. Patch by Stephen Hines and Mihai Rusu. llvm-svn: 125995
-
Douglas Gregor authored
enumeration type, prioritize the enumeration constants and don't provide completions for any other expressions. Fixes <rdar://problem/7283668>. llvm-svn: 125991
-
Devang Patel authored
llvm-svn: 125990
-
- Feb 18, 2011
-
-
Chris Lattner authored
turn off all builtin optimizations. llvm-svn: 125979
-
Douglas Gregor authored
that was ignored in a few places (most notably, code completion). Introduce Selector::getNameForSlot() for the common case where we only care about the name. Audit all uses of getIdentifierInfoForSlot(), switching many over to getNameForSlot(), fixing a few crashers. Fixed <rdar://problem/8939352>, a code-completion crasher. llvm-svn: 125977
-
Chris Lattner authored
target triple. This would be a decent place to add -fno-builtin info for example. llvm-svn: 125971
-
Argyrios Kyrtzidis authored
llvm-svn: 125963
-
-
Argyrios Kyrtzidis authored
No functionality change. llvm-svn: 125957
-
Fariborz Jahanian authored
scalar types. // rdar://7761305 llvm-svn: 125946
-
Chris Lattner authored
patch by Amit Kulkarni! llvm-svn: 125944
-
NAKAMURA Takumi authored
TCE target has some too strict alignment rules (that the HW really does not require, but which caused problems elsewhere) for data types and an ABI change was decided. llvm-svn: 125833
-
Douglas Gregor authored
a scoped enumeration type to an integral or floating type, properly. There was an over-eager assertion, and it was missing the floating-point case. Fixes PR9107/<rdar://problem/8937402>. llvm-svn: 125825
-
John McCall authored
_Block_object_* flags; it's just BLOCK_HAS_COPY_DISPOSE or not. Also, we don't need to chase forwarding pointers prior to calling _Block_object_dispose; _Block_object_dispose in fact already does this. rdar://problem/9006315 llvm-svn: 125823
-
Douglas Gregor authored
or union, place the qualifier on the outermost member reference expression, which actually contains the entity name. Fixes PR9188/<rdar://problem/8990184>. llvm-svn: 125822
-
Ted Kremenek authored
llvm-svn: 125821
-
Peter Collingbourne authored
This removes the final dependency edge from any lib outside of CodeGen to core. As a result we can, and do, trim the dependency on core from libclang, PrintFunctionNames, the unit tests and c-index-test. While at it, review and trim other unneeded dependencies. llvm-svn: 125820
-
Peter Collingbourne authored
llvm-svn: 125819
-
Douglas Gregor authored
enumeration type, we were generating an integer literal implicitly casted to the appropriate enumeration type. However, later checks on that expression would strip the implicit cast. This commit tweaks the lame hack, by creating an explicit cast instead of an implicit cast. The right answer is to introduce a SubstNonTypeTemplateParmExpr expression that acts like the substituted result. I'll investigate that soon. llvm-svn: 125818
-
Chris Lattner authored
bugs from other clients that don't expect to see a LabelDecl in a DeclStmt, but if so they should be easy to fix. This implements most of PR3429 and rdar://8287027 llvm-svn: 125817
-
Chris Lattner authored
own weird little DenseMap. Hey look, we now emit unused label warnings deterministically, amazing. llvm-svn: 125813
-
Chris Lattner authored
llvm-svn: 125806
-
Chris Lattner authored
llvm-svn: 125799
-
- Feb 17, 2011
-
-
Chris Lattner authored
by Heikki Kultala! llvm-svn: 125784
-
Oscar Fuentes authored
llvm-svn: 125783
-
Argyrios Kyrtzidis authored
The relative checker package is 'debug': '-dump-live-variables' is replaced by '-analyzer-checker=debug.DumpLiveVars' '-cfg-view' is replaced by '-analyzer-checker=debug.ViewCFG' '-cfg-dump' is replaced by '-analyzer-checker=debug.DumpCFG' llvm-svn: 125780
-
Argyrios Kyrtzidis authored
DeadStoresChecker ObjCMethSigsChecker ObjCUnusedIvarsChecker SizeofPointerChecker ObjCDeallocChecker SecuritySyntaxChecker llvm-svn: 125779
-
Argyrios Kyrtzidis authored
-Introduce CheckerV2, a set of templates for convenient declaration & registration of checkers. Currently useful just for checkers working on the AST not the path-sensitive ones. -Enhance CheckerManager to actually collect the checkers and turn it into the entry point for running the checkers. -Use the new mechanism for the LLVMConventionsChecker. llvm-svn: 125778
-
Argyrios Kyrtzidis authored
llvm-svn: 125777
-
Chandler Carruth authored
especially C++ code, and generally expand the test coverage. Logic adapted from a patch by Kaelyn Uhrain <rikka@google.com> and another Googler. llvm-svn: 125775
-
Chandler Carruth authored
of Clang, and reflows the code a bit to make it easier to read. llvm-svn: 125773
-
Chris Lattner authored
llvm-svn: 125772
-
Chris Lattner authored
making them be template instantiated in a more normal way and make them handle attributes like other decls. This fixes the used/unused label handling stuff, making it use the same infrastructure as other decls. llvm-svn: 125771
-