- Oct 27, 2008
-
-
Chris Lattner authored
t.c:1:13: error: cannot codegen this designators yet int a[10] = {2, 4, [8]=9, 10}; ^~~~~~~~~~~~~~~~~ llvm-svn: 58220
-
Chris Lattner authored
llvm-svn: 58218
-
Chris Lattner authored
support as far as I know. llvm-svn: 58217
-
Chris Lattner authored
objc mode. llvm-svn: 58216
-
Chris Lattner authored
struct foo Y[10] = { [4] .arr [2] 4 // expected-error {{expected '=' or another designator}} }; because the "missing equals" extension only is valid if there is exactly one array designator. llvm-svn: 58215
-
Chris Lattner authored
fix an obscure memory leak. llvm-svn: 58213
-
- Oct 26, 2008
-
-
Chris Lattner authored
improve diagnostic for a malformed field designator. llvm-svn: 58212
-
Chris Lattner authored
easier to understand and hack on, no functionality change. llvm-svn: 58210
-
Chris Lattner authored
about whether a leading identifier is a designator. llvm-svn: 58207
-
Chris Lattner authored
initializer, avoiding an extra level of calls for silly things like 'int x = 4'. llvm-svn: 58206
-
Chris Lattner authored
1. It introduces new parser level abstractions for designators that are used to communicate between parser and sema. 2. This fixes a FIXME where "identifier ':'" was considered to be a designator even if it wasn't the first in a designator list. 3. In the "identifier ':'" case, it actually builds the designator representation. llvm-svn: 58205
-
Chris Lattner authored
llvm-svn: 58203
-
Sebastian Redl authored
llvm-svn: 58198
-
Argyrios Kyrtzidis authored
Don't give a default argument to ASTContext::getFunctionType for the TypeQuals parameter, it causes subtle bugs where TypeQuals, while necessary, are omitted from the call. -Remove the default argument. -Update all call sites of ASTContext::getFunctionType. llvm-svn: 58187
-
Zhongxing Xu authored
llvm-svn: 58182
-
Zhongxing Xu authored
Simplify ArrayToPointer conversion. Actually the only thing we need to do is to get the first element region. It is not necessary to care about the kind of the base array region. llvm-svn: 58181
-
Oscar Fuentes authored
must be under the `tools' subdirectory of the LLVM *source* tree. llvm-svn: 58180
-
- Oct 25, 2008
-
-
Ted Kremenek authored
Use string literal for format string specifier; this prevents ErrMsg from being interpretted as a format string specifier. llvm-svn: 58150
-
Ted Kremenek authored
This fixes PR 2948. llvm-svn: 58148
-
Zhongxing Xu authored
llvm-svn: 58140
-
Zhongxing Xu authored
for StringLiteral lvalue evaluation, instead of directly returning a loc::StringLiteralVal by the Environment. llvm-svn: 58138
-
Zhongxing Xu authored
llvm-svn: 58137
-
Zhongxing Xu authored
llvm-svn: 58136
-
Zhongxing Xu authored
llvm-svn: 58135
-
Nuno Lopes authored
2nd try to fix leakage of the module provider. note that moduleprovider takes ownership of the module llvm-svn: 58128
-
Nuno Lopes authored
llvm-svn: 58127
-
Ted Kremenek authored
llvm-svn: 58125
-
Argyrios Kyrtzidis authored
llvm-svn: 58124
-
Argyrios Kyrtzidis authored
Unbreak the test by.. removing a space. (clang protested that -verify only works on single input files). llvm-svn: 58123
-
Daniel Dunbar authored
Rajaratnam, with some updates and formatting changes. llvm-svn: 58122
-
- Oct 24, 2008
-
-
Argyrios Kyrtzidis authored
-Add withConst/withVolatile/withRestrict methods to QualType class, that return the QualType plus the respective qualifier. llvm-svn: 58120
-
Daniel Dunbar authored
llvm-svn: 58119
-
Ted Kremenek authored
llvm-svn: 58115
-
Ted Kremenek authored
llvm-svn: 58114
-
Ted Kremenek authored
followsFundamentalRule() returns true if "alloc" or "new" appear at the beginning of the string, not anywhere within it. llvm-svn: 58112
-
Ted Kremenek authored
llvm-svn: 58111
-
Ted Kremenek authored
Implicit conversions from arrays can also be conversions to references (will add a test case shortly). llvm-svn: 58110
-
Ted Kremenek authored
Enhance test to include a case where a tracked object escapes because it is stored to a local ivar through a method dispatch to 'self.' llvm-svn: 58109
-
Ted Kremenek authored
Issue warnings about owned objects returned from a method that does not match the established Cocoa naming conventions. llvm-svn: 58108
-
Ted Kremenek authored
Added method "getSelfRegion" to Store. This method returns the region associated with the "this" or "self" object (C++ and Objective-C respectively). llvm-svn: 58107
-