- Dec 17, 2007
-
-
Chris Lattner authored
llvm-svn: 45118
-
Ted Kremenek authored
llvm-svn: 45116
-
Devang Patel authored
Patch by Richard Pennington. llvm-svn: 45115
-
Ted Kremenek authored
following hold: (1) A vprintf-like function is called that takes the argument list via a via_list argument. (2) The format string is a non-literal that is the parameter value of the enclosing function, e.g: void logmessage(const char *fmt,...) { va_list ap; va_start(ap,fmt); fprintf(fmt,ap); // Do not emit a warning. } In the future this special case will be enhanced to consult the "format" attribute attached to a function declaration instead of just allowing a blank check for all function parameters to be used as format strings to vprintf-like functions. This will happen when more support for attributes becomes available. llvm-svn: 45114
-
Chris Lattner authored
cross-endianness case, where we checked the version in the wrong endianness. Amusingly, the GCC logic that detects mixed endianness hmaps and rejects them is dead for this very reason. llvm-svn: 45113
-
Chris Lattner authored
Add comments to reset indicating that it deletes its pointer. Add a new take() method, which can be used to get the pointer without it being deleted. llvm-svn: 45112
-
Chris Lattner authored
except resolve lookups. llvm-svn: 45111
-
Ted Kremenek authored
llvm-svn: 45110
-
Chris Lattner authored
the create method. llvm-svn: 45109
-
Duncan Sands authored
how to lower them (with no attempt made to be efficient, since they should only occur for unoptimized code). llvm-svn: 45108
-
Fariborz Jahanian authored
llvm-svn: 45107
-
Chris Lattner authored
llvm-svn: 45106
-
Fariborz Jahanian authored
Also fixed indentation problems. llvm-svn: 45105
-
Ted Kremenek authored
llvm-svn: 45104
-
Ted Kremenek authored
warnings. This flag is the inverse of to GCC's -Wformat-nonliteral option (in the clang driver, these warnings are on by default). Patch provided by Shantonu Sen. llvm-svn: 45103
-
Chris Lattner authored
llvm-svn: 45102
-
David Greene authored
GLIBCXX_DEBUG fix. std::vector<>::end() is invalidated by erase. llvm-svn: 45101
-
David Greene authored
Get rid of annoying spaces. llvm-svn: 45100
-
David Greene authored
passed the erased element. llvm-svn: 45099
-
Ted Kremenek authored
This parallels a previous patch (duplicate logic caused the bug to appear in multiple locations): r44316 (http://llvm.org/viewvc/llvm-project?rev=44316&view=rev). Patch provided by Nuno Lopes. llvm-svn: 45098
-
Gordon Henriksen authored
through llvm-as|llvm-dis. llvm-svn: 45097
-
Gordon Henriksen authored
for Ocaml-based compilers targeting embedded devices. :) llvm-svn: 45096
-
Chris Lattner authored
llvm-svn: 45095
-
Chris Lattner authored
llvm-svn: 45094
-
Chris Lattner authored
HeaderSearch into DirectoryLookup, as a particular framework lookup is specific to the directory we are currently querying. llvm-svn: 45093
-
Chris Lattner authored
the internal representation. This also fixes a bug where -I foo -F foo would not search foo as both a normal and framework include dir. llvm-svn: 45092
-
Chris Lattner authored
llvm-svn: 45091
-
Chris Lattner authored
llvm-svn: 45090
-
Chris Lattner authored
llvm-svn: 45089
-
Chris Lattner authored
llvm-svn: 45087
-
Chris Lattner authored
we emit stuff like this: abort on missing sema of initializers, now we emit stuff like this: t3.c:1:24: warning: cannot codegen this initializer yet const char x[2][4] = { { 'a', 'b', '\0', '\0' }, { 'c', 'd', 'e', '\0' } }; ^~~~~~~~~~~~~~~~~~~~~~~~ This should be removed when sema is finished. llvm-svn: 45086
-
Christopher Lamb authored
llvm-svn: 45085
-
Christopher Lamb authored
Change the PointerType api for creating pointer types. The old functionality of PointerType::get() has become PointerType::getUnqual(), which returns a pointer in the generic address space. The new prototype of PointerType::get() requires both a type and an address space. llvm-svn: 45082
-
Christopher Lamb authored
llvm-svn: 45081
-
Christopher Lamb authored
Make it clear in the LangRef that allocation instructions only operated on the generic address space. Implement support in the verifier for ensuring this is true. llvm-svn: 45080
-
- Dec 16, 2007
-
-
Anders Carlsson authored
llvm-svn: 45079
-
Steve Naroff authored
Sema::ActOnMemberReferenceExpr() needs to perform the default conversions. Bug and test case provided by Carl Lewis. llvm-svn: 45078
-
Duncan Sands authored
changed not to reject invoke of inline asm. llvm-svn: 45077
-
Chris Lattner authored
llvm-svn: 45076
-
Chris Lattner authored
llvm-svn: 45075
-