- Jul 19, 2010
-
-
http://llvm.org/PR7660Argyrios Kyrtzidis authored
A ParmVarDecl instantiated from a FunctionProtoType may have Record as DeclContext, in which case isStaticDataMember() will erroneously return true. llvm-svn: 108692
-
Chris Lattner authored
llvm-svn: 108676
-
Zhongxing Xu authored
llvm-svn: 108670
-
Zhongxing Xu authored
llvm-svn: 108669
-
Zhongxing Xu authored
llvm-svn: 108668
-
Daniel Dunbar authored
taking it in pieces. - Fixes a problem where the Clang executable path was not initialized properly on Win32, because sys::Path::getBasename() doesn't do what I always think it does. Imagine that, a sys::Path interface that is confusing! llvm-svn: 108667
-
- Jul 18, 2010
-
-
Daniel Dunbar authored
llvm-svn: 108659
-
Chandler Carruth authored
fixed return types. llvm-svn: 108657
-
Eli Friedman authored
linkage specification. Not sure if this is the ideal fix, but I'm reasonably sure it's correct vs. gcc. llvm-svn: 108656
-
Peter Collingbourne authored
The rationale is that we are copying the entire definition including parameter names which may differ between the declaration and the definition. This is particularly important if any parameters are unnamed in the declaration, as a DeclRef to an unnamed ParmVarDecl would cause the pretty printer to produce invalid output. llvm-svn: 108643
-
Chandler Carruth authored
their call expressions synthetically have the "deduced" types based on their first argument. We only insert conversions in the AST for arguments whose values require conversion to match the value type expected. This keeps PR7600 closed by maintaining the return type, but avoids assertions due to unexpected implicit casts making the type unsigned (test case added from Daniel). The magic is moved into the codegen for the atomic builtin which inserts the casts as needed at the IR level to raise the type to an integer suitable for the LLVM intrinsic. This shouldn't cause any real change in functionality, but now we can make the builtin be more truly polymorphic. llvm-svn: 108638
-
Chris Lattner authored
llvm-svn: 108633
-
Eli Friedman authored
try to evaluate the initializer as a constant. llvm-svn: 108632
-
- Jul 17, 2010
-
-
Eli Friedman authored
incomplete union (PR5692) and incomplete enum, and fixes obscure accepts-invalid on cast to incomplete struct. llvm-svn: 108630
-
Fariborz Jahanian authored
llvm-svn: 108627
-
Chris Lattner authored
allow invalid token pastes (when in -fms-extensions mode) with -Wno-invalid-token-paste llvm-svn: 108624
-
Benjamin Kramer authored
llvm-svn: 108621
-
Zhongxing Xu authored
Let AnalysisContext contain a TranslationUnit. Let CallEnter refer to an AnalysisContext instead of a FunctionDecl. llvm-svn: 108617
-
rdar://problem/8202272Ted Kremenek authored
Fix '<rdar://problem/8202272> __imag passed non-complex should not crash' by removing a bogus assertion. llvm-svn: 108602
-
Fariborz Jahanian authored
part of the new property synthesis by default. wip. llvm-svn: 108599
-
John McCall authored
multiple reasons. Rethrow with _objc_exception_throw instead. Fixes PR7656. llvm-svn: 108595
-
Ted Kremenek authored
an APFloat with different "float semantics" than the compared float literal. llvm-svn: 108590
-
Sebastian Redl authored
llvm-svn: 108578
-
- Jul 16, 2010
-
-
Anders Carlsson authored
When checking whether to bind an expression to a temporary, don't bind Obj-C message send expressions who call methods that return references. llvm-svn: 108559
-
Sebastian Redl authored
llvm-svn: 108551
-
Tom Care authored
Improved false positive rate for the idempotent operations checker and moved it into the default path-sensitive analysis options. - Added checks for static local variables, self assigned parameters, and truncating/extending self assignments - Removed command line option (now default with --analyze) - Updated test cases to pass with idempotent operation warnings llvm-svn: 108550
-
Ted Kremenek authored
llvm-svn: 108542
-
Sebastian Redl authored
llvm-svn: 108537
-
Douglas Gregor authored
expression such as the "foo" in "this->blah.foo<1, 2>", and we can't look into the type of "this->blah" (e.g., because it is dependent), look into the local scope of a template of the same name. Fixes <rdar://problem/8198511>. llvm-svn: 108531
-
Sebastian Redl authored
llvm-svn: 108528
-
Douglas Gregor authored
diagnostic. Instead, put it and the "declaration does not declare anything" warning into -Wmissing-declarations. llvm-svn: 108527
-
Douglas Gregor authored
llvm-svn: 108526
-
John McCall authored
purpose of access control. Fixes PR7644. I can't actually find anything directly justifying this, but it seems obvious. llvm-svn: 108521
-
Daniel Dunbar authored
is well defined, it resets to the default alignment. llvm-svn: 108508
-
Chandler Carruth authored
llvm-svn: 108505
-
Ted Kremenek authored
llvm-svn: 108502
-
Ted Kremenek authored
llvm-svn: 108501
-
Ted Kremenek authored
handling the parsing of scanf format strings and hooking the checking into Sema. Most of this checking logic piggybacks on what was already there for checking printf format strings, but the checking logic has been refactored to support both. What is left to be done is to support argument type checking in format strings and of course fix the usual tail of bugs that will follow. llvm-svn: 108500
-
Ted Kremenek authored
represent builtins that have the "scanf" attribution (via the format attribute) just like we do with printf functions. Follow-up work is needed to add similar support for fscanf et al. This is to support format-string checking for scanf functions. llvm-svn: 108499
-
Eli Friedman authored
asm operand twice. llvm-svn: 108489
-