- Jul 14, 2011
-
-
Chandler Carruth authored
MacroInstantiation -> MacroExpansion rename. Internally, everything is switched. Introduce a new cursor kind enum with the new name, but retain the old name as an alias so that we don't break backwards compatibility. Also update the debug printing routine to use 'macro expansions' as its explicitly not guaranteed to be stable, and mechanically switch the test cases over to that. llvm-svn: 135140
-
Chandler Carruth authored
variants to 'expand'. This changed a couple of public APIs, including one public type "MacroInstantiation" which is now "MacroExpansion". The rest of the codebase was updated to reflect this, especially the libclang code. Two of the C++ (and thus easily changed) libclang APIs were updated as well because they pertained directly to the old MacroInstantiation class. No functionality changed. llvm-svn: 135139
-
Chandler Carruth authored
'expand'. Also update the public API it provides to the new term, and propagate that update to the various clients. No functionality changed. llvm-svn: 135138
-
Chandler Carruth authored
to 'expand' for macros. Only comments and uses local to the TokenLexer are updated. No functionality changed. llvm-svn: 135137
-
Chandler Carruth authored
'[Ee]xpan(sion|ded)' in the TextDiagnosticPrinter. No functionality changed. llvm-svn: 135136
-
Chandler Carruth authored
and 'expansions' rather than 'instantiated' and 'contexts'. This is the first of several patches migrating Clang's terminology surrounding macros from 'instantiation' to 'expansion'. llvm-svn: 135135
-
Ted Kremenek authored
Reapply r135075, but modify format-strings.c and format-strings-fixit.c test cases to be more portable with an explicit target triple. llvm-svn: 135134
-
Eric Christopher authored
Part of rdar://9761830 llvm-svn: 135133
-
Chris Lattner authored
llvm-svn: 135132
-
Evan Cheng authored
TargetAsmInfo, which in turn pulls in TargetRegisterInfo, etc. :-( There are other cases of violations, but this is probably the worst. This patch is but one small step towards fixing this. 500 more steps to go. :-( llvm-svn: 135131
-
Jakob Stoklund Olesen authored
Original commit message: Count references to interference cache entries. Each InterferenceCache::Cursor instance references a cache entry. A non-zero reference count guarantees that the entry won't be reused for a new register. This makes it possible to have multiple live cursors examining interference for different physregs. The total number of live cursors into a cache must be kept below InterferenceCache::getMaxCursors(). Code generation should be unaffected by this change, and it doesn't seem to affect the cache replacement strategy either. llvm-svn: 135130
-
NAKAMURA Takumi authored
Revert r135075, "format string checking: long and int have the same widths on 32-bit, so we shouldn't warn about using" It fails on freebsd, mingw and msvc10. llvm-svn: 135129
-
Douglas Gregor authored
is still terrible here because typo correction is not behaving well in the presence of overloaded functions. llvm-svn: 135128
-
Devang Patel authored
llvm-svn: 135127
-
Benjamin Kramer authored
Don't emit a bit test if there is only one case the test can yield false. A simple SETNE is sufficient. llvm-svn: 135126
-
Howard Hinnant authored
llvm-svn: 135125
-
Devang Patel authored
llvm-svn: 135124
-
Eric Christopher authored
Fixes rdar://9761830 llvm-svn: 135123
-
Jakob Stoklund Olesen authored
llvm-svn: 135122
-
Jakob Stoklund Olesen authored
Each InterferenceCache::Cursor instance references a cache entry. A non-zero reference count guarantees that the entry won't be reused for a new register. This makes it possible to have multiple live cursors examining interference for different physregs. The total number of live cursors into a cache must be kept below InterferenceCache::getMaxCursors(). Code generation should be unaffected by this change, and it doesn't seem to affect the cache replacement strategy either. llvm-svn: 135121
-
Eli Friedman authored
Fix up assertion in r135018 so it doesn't trigger on 32-bit; when we're in 32-bit, it doesn't matter whether the operation overflows because the computed address is not wider than the immediate. llvm-svn: 135120
-
Jim Grosbach authored
llvm-svn: 135119
-
Devang Patel authored
llvm-svn: 135118
-
Jim Grosbach authored
llvm-svn: 135117
-
Jim Grosbach authored
Add instalias for default 'sy' option. Add tests. llvm-svn: 135116
-
Argyrios Kyrtzidis authored
[arcmt] Make sure migrating to ARC works even if '-fobjc-arc' is included in command-line flags. rdar://9567824 llvm-svn: 135115
-
Johnny Chen authored
Add logic to modify-python-lldb to correct swig's transformation of 'char **argv' and 'char **envp' to 'char argv' and 'char envp' by morphing them into the 'list argv' and 'list envp' (as a list of Python strings). llvm-svn: 135114
-
Jakob Stoklund Olesen authored
The cache entry referenced by the best split candidate could become clobbered by an unsuccessful candidate. The correct fix here is to use reference counts on the cache entries. Coming up. llvm-svn: 135113
-
Jim Grosbach authored
llvm-svn: 135112
-
Devang Patel authored
llvm-svn: 135111
-
Devang Patel authored
llvm-svn: 135110
-
Jim Grosbach authored
Flesh out the options supported for the instruction. Shuffle tests a bit and add entries for the rest of the options. Add an alias to handle the default operand of "sy". llvm-svn: 135109
-
Johnny Chen authored
llvm-svn: 135108
-
Jim Grosbach authored
llvm-svn: 135107
-
Owen Anderson authored
Add a target-indepedent entry to MCInstrDesc to describe the encoded size of an opcode. Switch ARM over to using that rather than its own special MCInstrDesc bits. llvm-svn: 135106
-
Johnny Chen authored
Use %feature("docstring") for methods of SBModule class so that the methods signature also gets generated in the Python docstring. llvm-svn: 135105
-
John McCall authored
rdar://problem/9768338 llvm-svn: 135104
-
Bill Wendling authored
The frameless unwind stack has a special encoding, the algorithm for which is in "permuteEncode". llvm-svn: 135103
-
Jim Grosbach authored
Add range checking and testing for parsing and encoding of DBG instruction. llvm-svn: 135102
-
Richard Smith authored
PR8800: When building a conversion to A& using a member operatorA&(), do not require A to be a complete type. llvm-svn: 135101
-