- Sep 16, 2010
-
-
Daniel Dunbar authored
llvm-svn: 114068
-
Tom Care authored
Refactored BugReporter to refer to EndNode as ErrorNode. We currently make the assumption that EndNode == ErrorNode, but upcoming changes will break this. llvm-svn: 114065
-
Zhongxing Xu authored
llvm-svn: 114062
-
John McCall authored
llvm-svn: 114061
-
John McCall authored
Prospective fix for broken commit in r114045. llvm-svn: 114060
-
John McCall authored
llvm-svn: 114059
-
Douglas Gregor authored
sends. These are far trickier than instance messages, because we typically have something like NSArray alloc] where it appears to be a declaration of a variable named "alloc" up until we see the ']' (or a ':'), and at that point we can't backtrace. So, we use a combination of syntactic and semantic disambiguation to treat this as a message send only when the type is an Objective-C type and it has the syntax of a class message send (which would otherwise be ill-formed). llvm-svn: 114057
-
Zhongxing Xu authored
and discussions with Ted and Jordy. llvm-svn: 114056
-
Daniel Dunbar authored
the order file to use for the clang executable. llvm-svn: 114052
-
Ted Kremenek authored
Fixes <rdar://problem/8436021>. llvm-svn: 114049
-
Fariborz Jahanian authored
AggValueSlot slot. llvm-svn: 114045
-
Ted Kremenek authored
are expanded from macros (and if so, omit the warning). Previously we were just looking at the location of the binary expression. Fixes <rdar://problem/8435950>. llvm-svn: 114044
-
Douglas Gregor authored
narrow, almost useless case where we're inside a parenthesized expression, e.g., (NSArray alloc]) The solution to the general case still eludes me. llvm-svn: 114039
-
- Sep 15, 2010
-
-
John McCall authored
llvm-svn: 114019
-
Devang Patel authored
While handling change of file, check if _current_ file is already seen or not. If current file is seen then it indicates that end of previous file's lexical scope. This fixes radar 8396182. llvm-svn: 114018
-
Sebastian Redl authored
llvm-svn: 114014
-
Nick Lewycky authored
from certain GCC's. Patch by Neil Vachharajani! llvm-svn: 113995
-
Marcin Swiderski authored
llvm-svn: 113994
-
Jakob Stoklund Olesen authored
This reverts commit 113814. This patch was never intended to stay in the repository. If you are reading this from the future, we apologize for the noise. llvm-svn: 113990
-
Douglas Gregor authored
'[' is missing. Prior commits improving recovery also improved code completion beyond the first selector, e.g., at or after the "to" in calculator add:x to:y but not after "calculator". We now provide the same completions for calculator <CC> that we would for [calculator <CC> if "calculator" is an expression whose type is something that can receive Objective-C messages. This code completion works for instance and super message sends, but not class message sends. llvm-svn: 113976
-
Fariborz Jahanian authored
abi for clang's objective-c compilations. (radar 8353555). llvm-svn: 113974
-
Douglas Gregor authored
super method:arg] will now recover nicely and insert the '[' before 'super'. llvm-svn: 113971
-
Douglas Gregor authored
a getFoo] llvm-svn: 113969
-
Douglas Gregor authored
part of parser recovery. For example, given: a method1:arg]; we detect after parsing the expression "a" that we have the start of a message send expression. We pretend we've seen a '[' prior to the a, then parse the remainder as a message send. We'll then give a diagnostic+fix-it such as: fixit-objc-message.m:17:3: error: missing '[' at start of message send expression a method1:arg]; ^ [ The algorithm here is very simple, and always assumes that the open bracket goes at the beginning of the message send. It also only works for non-super instance message sends at this time. llvm-svn: 113968
-
Benjamin Kramer authored
llvm-svn: 113966
-
Cameron Esfahani authored
Fix pointer-signext.c test case: it was relying on value names, which don't appear in the non-assert build. Switch to using check-next as well. llvm-svn: 113964
-
John McCall authored
llvm-svn: 113963
-
John McCall authored
slot. The easiest way to do that was to bundle up the information we care about for aggregate slots into a new structure which demands that its creators at least consider the question. I could probably be convinced that the ObjC 'needs GC' bit should be rolled into this structure. Implement generalized copy elision. The main obstacle here is that IR-generation must be much more careful about making sure that exactly llvm-svn: 113962
-
Ted Kremenek authored
on code containing GNU statement expressions reported in PR 8141. llvm-svn: 113953
-
Daniel Dunbar authored
libc++ is checked out into llvm/projects. - WIP, not on by default yet. llvm-svn: 113924
-
Ted Kremenek authored
the index when the value evaluation isn't powerful enough. By creating ElementRegions with UnknownVals as the index, this gives the false impression that they are the same element, when they really aren't. This becomes really problematic when deriving symbols from these regions (e.g., those representing the initial value of the index), since two different indices will get the same symbol for their binding. This fixes an issue with the idempotent operations checker that would cause two indices that are clearly not the same to make it appear as if they always had the same value. Fixes <rdar://problem/8431728>. llvm-svn: 113920
-
Douglas Gregor authored
llvm-svn: 113917
-
Cameron Esfahani authored
Fix Windows64 target info so pointer arithmetic is done correctly, and no sign extension code is emitted: PtrDiffType needs to be a signed long long. Add a corresponding test case. llvm-svn: 113910
-
Francois Pichet authored
- in union - as the only element of a struct/class. llvm-svn: 113909
-
Douglas Gregor authored
expression, e.g., after the '(' that could also be a type cast. Here, we provide types as code-completion results in C/Objective-C (C++ already had them), although we wouldn't in a normal expression context. llvm-svn: 113904
-
Ted Kremenek authored
Add CFG::BuildOptions class to pass in CFG builder options under on parameter. Patch by Marcin Świderski! llvm-svn: 113898
-
Sebastian Redl authored
llvm-svn: 113897
-
Ted Kremenek authored
llvm-svn: 113893
-
Daniel Dunbar authored
library to use. - This is currently useful for testing libc++; you can now use 'clang++ -stdlib=libc++ t.cpp' to compile using it if installed. - In the future could also be used to select other standard library choices if alternatives become available (for example, to use an alternate C library). llvm-svn: 113891
-
Daniel Dunbar authored
llvm-svn: 113890
-