- Mar 09, 2011
-
-
John McCall authored
llvm-svn: 127319
-
Anders Carlsson authored
When deserializing CXXBaseSpecifiers (and offsets), make sure to walk the chain in the correct order. llvm-svn: 127315
-
John McCall authored
simplify the logic of initializing function parameters so that we don't need both a variable declaration and a type in FunctionArgList. This also means that we need to propagate the CGFunctionInfo down in a lot of places rather than recalculating it from the FAL. There's more we can do to eliminate redundancy here, and I've left FIXMEs behind to do it. llvm-svn: 127314
-
John McCall authored
K&R-style default argument promotion. llvm-svn: 127313
-
Ted Kremenek authored
llvm-svn: 127291
-
Argyrios Kyrtzidis authored
should report the original file name for contents of files that were overriden by other files, otherwise it should report the name of the new file. Default is true. Also add similar field in PreprocessorOptions and pass similar parameter in ASTUnit::LoadFromCommandLine. llvm-svn: 127289
-
Ted Kremenek authored
static analyzer: Fix use-after-free bug in RegionStore involving LazyCompoundValueData not reference counting Store objects. llvm-svn: 127288
-
- Mar 08, 2011
-
-
Abramo Bagnara authored
llvm-svn: 127285
-
Anders Carlsson authored
Make the Objective-C checker look for subclasses of NSString instead of just NSString and NSMutableString. llvm-svn: 127268
-
Douglas Gregor authored
by using an enumeration rather than a boolean value. No functionality change. llvm-svn: 127259
-
Fariborz Jahanian authored
varienty of cases. // rdar://9092208 llvm-svn: 127257
-
Douglas Gregor authored
keywords for Objective-C+ and C++0x. llvm-svn: 127253
-
Abramo Bagnara authored
Fixed source range for StaticAssertDecl and LinkageSpecDecl. Fixed source range for declarations using postfix types. llvm-svn: 127251
-
Anders Carlsson authored
llvm-svn: 127248
-
Abramo Bagnara authored
llvm-svn: 127242
-
NAKAMURA Takumi authored
llvm-svn: 127238
-
Abramo Bagnara authored
llvm-svn: 127237
-
John McCall authored
variable that just happens to be stored in a wierd place. llvm-svn: 127235
-
John McCall authored
for a local variable. llvm-svn: 127227
-
Abramo Bagnara authored
llvm-svn: 127225
-
John Wiegley authored
llvm-svn: 127223
-
John McCall authored
in case we want to make a world where we can check intermediate instantiations for this kind of breadcrumb. llvm-svn: 127221
-
John McCall authored
diagnostic. Also, these attributes are commonly written with macros which we actually pre-define, so instead of expanding the macro location, refer to the instantiation location and name it using the macro loc. llvm-svn: 127219
-
John McCall authored
llvm-svn: 127217
-
John McCall authored
llvm-svn: 127216
-
Douglas Gregor authored
dependent scope and produce an error (rather than crashing). Fixes PR8979. llvm-svn: 127206
-
- Mar 07, 2011
-
-
Bill Wendling authored
clobber with the 'y' constraint. Otherwise, we get the wrong return type and an assert, because it created a '<1 x i64>' vector type instead of the x86_mmx type. llvm-svn: 127185
-
Argyrios Kyrtzidis authored
llvm-svn: 127183
-
Ted Kremenek authored
llvm-svn: 127176
-
Devang Patel authored
CodeGenFunction::GenerateBlockFunction() should initialize DebugInfo just like CodeGenFunction::GenerateCode() llvm-svn: 127174
-
Argyrios Kyrtzidis authored
It will accept flexible array in union and also as the sole element of a struct/class. Fixes rdar://9065507. llvm-svn: 127171
-
Devang Patel authored
DebugInfo can be enabled or disabled at function level (e.g. using an attribute). However, at module level it is determined by command line option and the state of command line option does not change during compilation. Make this layering explicit and fix accidental cases where the code generator was checking whether module has debug info enabled instead of checking whether debug info is enabled for this function or not. llvm-svn: 127165
-
Devang Patel authored
21 int main() { 22 A a; For example, here user would expect to stop at line 22, even if A's constructor leads to a call through CXXDefaultArgExpr. This fixes ostream-defined.exp regression from gdb testsuite. llvm-svn: 127164
-
Douglas Gregor authored
of a C++0x inline namespace within enclosing namespaces, as noted in C++0x [namespace.def]p8. Fixes <rdar://problem/9006349>, a libc++ failure where Clang was rejected an explicit specialization of std::swap (since libc++ puts it into an inline, versioned namespace std::__1). llvm-svn: 127162
-
Douglas Gregor authored
dependent template specialization type, make sure to set the keyword location. Fixes some valgrind issues introduced in r127150. llvm-svn: 127159
-
John McCall authored
trivial to check this. Adjust for style. llvm-svn: 127151
-
Douglas Gregor authored
to set the source-location information for the template arguments to the *transformed* source-location information, not the original source-location information. Fixes <rdar://problem/8986308> (a libc++ SFINAE issue) and the Boost.Polygon failure. llvm-svn: 127150
-
Douglas Gregor authored
llvm-svn: 127148
-
John McCall authored
allocation and therefore requires a null-check. We were doing that, but we weren't treating the new-initializer as being conditionally executed, which means it was possible to get ill-formed IR as in PR9298. llvm-svn: 127147
-
Anders Carlsson authored
llvm-svn: 127144
-