- Sep 19, 2011
-
-
Bill Wendling authored
attribute to the @foo function. llvm-svn: 140067
-
Argyrios Kyrtzidis authored
llvm-svn: 140066
-
Eric Christopher authored
llvm-svn: 140065
-
Eric Christopher authored
Patch by Arrowdodger. llvm-svn: 140064
-
Argyrios Kyrtzidis authored
PreprocessingRecord's getPreprocessedEntitiesInRange. Also remove all the stuff that were added in ASTUnit that are unnecessary now that we do a binary search for preprocessed entities and deserialize only what is necessary. llvm-svn: 140063
-
Argyrios Kyrtzidis authored
return iterators for local, non-loaded, preprocessed entities. llvm-svn: 140062
-
Argyrios Kyrtzidis authored
instead of getLocation() since we don't care about expanded macro arguments. llvm-svn: 140061
-
Argyrios Kyrtzidis authored
check whether the requested location points inside the precompiled preamble, in which case the returned source location will be a "loaded" one. llvm-svn: 140060
-
Argyrios Kyrtzidis authored
source location of line:col of a specific FileID. llvm-svn: 140059
-
Argyrios Kyrtzidis authored
which will do a binary search and return a pair of iterators for preprocessed entities in the given source range. Source ranges of preprocessed entities are stored twice currently in the PCH/Module file but this will be fixed in a subsequent commit. llvm-svn: 140058
-
Argyrios Kyrtzidis authored
It already works (and is useful with) macro locs as well. llvm-svn: 140057
-
Argyrios Kyrtzidis authored
depend on internal knowledge of SourceLocation. llvm-svn: 140056
-
Argyrios Kyrtzidis authored
llvm-svn: 140055
-
Argyrios Kyrtzidis authored
llvm-svn: 140054
-
Argyrios Kyrtzidis authored
inside a macro argument should be regarded as coming before the location of the expanded tokens. llvm-svn: 140053
-
Argyrios Kyrtzidis authored
don't call ReadSLocEntryRecord() directly because the entry may have already been loaded in which case calling ReadSLocEntryRecord() directly would trigger an assertion in SourceManager. llvm-svn: 140052
-
Argyrios Kyrtzidis authored
points at the inclusion/expansion point of the other, regard this as coming before the other. llvm-svn: 140051
-
Jim Grosbach authored
llvm-svn: 140050
-
Bill Wendling authored
This model uses the 'landingpad' instruction, which is pinned to the top of the landing pad. (A landing pad is defined as the destination of the unwind branch of an invoke instruction.) All of the information needed to generate the correct exception handling metadata during code generation is encoded into the landingpad instruction. The new 'resume' instruction takes the place of the llvm.eh.resume intrinsic call. It's lowered in much the same way as the intrinsic is. llvm-svn: 140049
-
Jim Grosbach authored
llvm-svn: 140048
-
Jim Grosbach authored
llvm-svn: 140047
-
Akira Hatanaka authored
yet legal according to comments in LegalizeDAG.cpp:227. Memcpy nodes created for copying byval arguments are inserted before CALLSEQ_START. The two failing tests reported in PR10876 pass after applying this patch. llvm-svn: 140046
-
Benjamin Kramer authored
llvm-svn: 140045
-
Benjamin Kramer authored
llvm-svn: 140044
-
Benjamin Kramer authored
llvm-svn: 140043
-
Benjamin Kramer authored
llvm-svn: 140042
-
Owen Anderson authored
Specify an additional fixed bit in the Thumb2 SSAT encoding to prevent the decoder from emitting gibberish for this invalid encoding. llvm-svn: 140041
-
Eli Friedman authored
Fix a typo in the bitcode reader in the handling of atomic stores. Reported by David Meyer on llvmdev. llvm-svn: 140040
-
Richard Trieu authored
For instance: template <class T> void E() {}; class F {}; void test() { ::E<::F>(); E<::F>(); } Gives the following error messages: error: found '<::' after a template name which forms the digraph '<:' (aka '[') and a ':', did you mean '< ::'? ::E<::F>(); ^~~ < :: error: expected expression E<::F>(); ^ error: expected ']' note: to match this '[' E<::F>(); This patch adds the digraph fix-it check right before the name lookup, moves the shared checking code to a new function, and adds new tests to catch future regressions. llvm-svn: 140039
-
Devang Patel authored
Radar 10139522 - Part 1. llvm-svn: 140038
-
Johnny Chen authored
Patch by Filipe. llvm-svn: 140037
-
Matt Beaumont-Gay authored
We were failing to set source locations and ranges in isUnusedResultAWarning for CXXOperatorCallExprs, leading to an "expression result unused" warning with absolutely no context if the expression was inside a macro. llvm-svn: 140036
-
Jim Grosbach authored
For example, 'ldrb r9, [sp]!' is odd, but valid. llvm-svn: 140035
-
David Greene authored
Report missing template arguments more helpfully by supplying the name of the missing argument in the error message. llvm-svn: 140034
-
Jakob Stoklund Olesen authored
Floating point stack inline asm works. llvm-svn: 140033
-
Owen Anderson authored
Handle STRT (and friends) like LDRT (and friends) for decoding purposes. Port over additional encoding tests to decoding tests. llvm-svn: 140032
-
Fariborz Jahanian authored
llvm-svn: 140031
-
John McCall authored
instead of internal linkage. llvm-svn: 140030
-
Jim Grosbach authored
llvm-svn: 140029
-
Benjamin Kramer authored
Add a MachO-specific "mode" to llvm-objdump, that, if enabled, gathers additional information that are only available on MachO. - It can take FunctionStarts from a binary to find entry points more accurately. - Symbol offsets in executables are correct now. llvm-svn: 140028
-