- Nov 24, 2008
-
-
Matthijs Kooijman authored
llvm-svn: 59961
-
Duncan Sands authored
(this doesn't happen that often, since most code does not use illegal types) then follow it by a DAG combiner run that is allowed to generate illegal operations but not illegal types. I didn't modify the target combiner code to distinguish like this between illegal operations and illegal types, so it will not produce illegal operations as well as not producing illegal types. llvm-svn: 59960
-
Matthijs Kooijman authored
llvm-svn: 59958
-
Zhongxing Xu authored
One design problem that is emerging is the signed-ness problem during static analysis. Many unsigned value have to be converted into signed value because it partipates in operations with signed values. On the other hand, we cannot blindly make all values occuring in static analysis signed, because we do have cases where unsignedness is required, for example, integer overflow detection. llvm-svn: 59957
-
Zhongxing Xu authored
llvm-svn: 59956
-
Torok Edwin authored
noalias attribute parameters/return values. llvm-svn: 59955
-
Zhongxing Xu authored
llvm-svn: 59954
-
Evan Cheng authored
Move target independent td files from lib/Target/ to include/llvm/Target so they can be distributed along with the header files. llvm-svn: 59953
-
Evan Cheng authored
llvm-svn: 59952
-
Zhongxing Xu authored
llvm-svn: 59951
-
Chris Lattner authored
instead of converting them to strings first. This also fixes a bunch of minor inconsistencies in the diagnostics emitted by clang and adds a bunch of FIXME's to DiagnosticKinds.def. llvm-svn: 59948
-
Chris Lattner authored
uses of getName() with uses of getDeclName(). This upgrades a bunch of diags to take DeclNames instead of std::strings. This also tweaks a couple of diagnostics to be cleaner and changes CheckInitializerTypes/PerformInitializationByConstructor to pass around DeclarationNames instead of std::strings. llvm-svn: 59947
-
Anders Carlsson authored
llvm-svn: 59946
-
Bill Wendling authored
llvm-svn: 59945
-
Anders Carlsson authored
llvm-svn: 59944
-
Zhongxing Xu authored
llvm-svn: 59943
-
Anders Carlsson authored
llvm-svn: 59942
-
Anders Carlsson authored
llvm-svn: 59941
-
Nick Lewycky authored
value. It must now be as if the pointer were allocated and has not escaped to the caller. Thanks to Dan Gohman for pointing out the error in the original and helping devise this definition. llvm-svn: 59940
-
Anders Carlsson authored
llvm-svn: 59939
-
Anders Carlsson authored
llvm-svn: 59938
-
Chris Lattner authored
NamedDecl::getNameAsString() to make it more explicit. llvm-svn: 59937
-
Chris Lattner authored
assert if the name is not an identifier. Update callers to do the right thing and avoid this method in unsafe cases. This also fixes an objc warning that was missing a space, and migrates a couple more to taking IdentifierInfo and QualTypes instead of std::strings. llvm-svn: 59936
-
Chris Lattner authored
llvm-svn: 59935
-
Nick Lewycky authored
indicate functions that allocate, such as operator new, or list::insert. The actual definition is slightly less strict (for now). No changes to the bitcode reader/writer, asm printer or verifier were needed. llvm-svn: 59934
-
Chris Lattner authored
a new NamedDecl::getAsString() method. Change uses of Selector::getName() to just pass in a Selector where possible (e.g. to diagnostics) instead of going through an std::string. This also adds new formatters for objcinstance and objcclass as described in the dox. llvm-svn: 59933
-
Zhongxing Xu authored
llvm-svn: 59932
-
Zhongxing Xu authored
llvm-svn: 59931
-
Zhongxing Xu authored
llvm-svn: 59930
-
Mon P Wang authored
llvm-svn: 59929
-
Bill Wendling authored
llvm-svn: 59926
-
Chris Lattner authored
expected-foo strings. Now the only allowed characters between expected-error and {{ is whitespace. llvm-svn: 59925
-
Chris Lattner authored
mangled, report it using the diagnostics machinery instead of printf. llvm-svn: 59924
-
Chris Lattner authored
llvm-svn: 59923
-
Chris Lattner authored
llvm-svn: 59922
-
Chris Lattner authored
llvm-svn: 59921
-
Chris Lattner authored
"previously defined here" diagnostics all notes. llvm-svn: 59920
-
- Nov 23, 2008
-
-
Chris Lattner authored
"definitions", not declarations. Point out the location of the original definition. llvm-svn: 59919
-
Chris Lattner authored
Also, point out where the previous decl was. This unxfails two tests. llvm-svn: 59918
-
Chris Lattner authored
with implicit quotes around them. This has a bunch of follow-on effects and requires tweaking to a whole lot of code. This causes a regression in two tests (xfailed) by causing it to emit things like: Line 10: duplicate interface declaration for category 'MyClass1' ('Category1') instead of: Line 10: duplicate interface declaration for category 'MyClass1(Category1)' I will fix this in a follow-up commit. As part of this, I had to start switching stuff to use ->getDeclName() instead of Decl::getName() for consistency. This is good, but I was planning to do this as an independent patch. There will be several follow-on patches to clean up some of the mess, but this patch is already too big. llvm-svn: 59917
-