- Jul 13, 2010
-
-
Chandler Carruth authored
EXPECT_{TRUE,FALSE}(...) macros. This also prevents suprious warnings about bool-to-pointer conversion that occurs withit EXPECT_EQ. llvm-svn: 108248
-
Chandler Carruth authored
llvm-svn: 108247
-
Devang Patel authored
llvm-svn: 108246
-
Devang Patel authored
llvm-svn: 108245
-
Douglas Gregor authored
llvm-svn: 108243
-
Douglas Gregor authored
size" error for code like new (int [size]) to a warning, add a Fix-It to remove the parentheses, and make this diagnostic work properly when it occurs in a template instantiation. <rdar://problem/8018245>. llvm-svn: 108242
-
Duncan Sands authored
by a return that returns a constant, while elsewhere in the function another return instruction returns a different constant. This is a special case of accumulator recursion, so just generalize the existing logic a bit. llvm-svn: 108241
-
Gabor Greif authored
with this commit the callee moves to the end of the operand array (from the start) and the call arguments now start at index 0 (formerly 1) this ordering is now consistent with InvokeInst this commit only flips the switch, functionally it is equivalent to r101465 I intend to commit several cleanups after a few days of soak period llvm-svn: 108240
-
Benjamin Kramer authored
llvm-svn: 108239
-
Duncan Sands authored
wider than the source type. Correct LangRef. llvm-svn: 108238
-
Argyrios Kyrtzidis authored
When loading the PCH, IdentifierInfos that are associated with pragmas cause declarations that use these identifiers to be deserialized (e.g. the "clang" pragma causes the "clang" namespace to be loaded). We can avoid this if we just use StringRefs for the pragmas. As a bonus, since we don't have to create and pass IdentifierInfos, the pragma interfaces get a bit more simplified. llvm-svn: 108237
-
Douglas Gregor authored
effect warning" by printing the qualifiers we saw and correctly pluralizing the message, e.g., test/SemaCXX/conditional-expr.cpp:295:3: warning: 'const volatile' type qualifiers on return type have no effect const volatile Enum g2() { ^~~~~ ~~~~~~~~ llvm-svn: 108236
-
Douglas Gregor authored
don't include the nested-name-specifier or template arguments: they were only relevant when resolving the declaration. Fixes PR7460. llvm-svn: 108235
-
Douglas Gregor authored
strip cv-qualifiers from the expression's type when the language calls for it: in C, that's all the time, while C++ only does it for non-class types. Centralized the computation of the call expression type in QualType::getCallResultType() and some helper functions in other nodes (FunctionDecl, ObjCMethodDecl, FunctionType), and updated all relevant callers of getResultType() to getCallResultType(). Fixes PR7598 and PR7463, along with a bunch of getResultType() call sites that weren't stripping references off the result type (nothing stripped cv-qualifiers properly before this change). llvm-svn: 108234
-
Douglas Gregor authored
llvm-svn: 108233
-
John McCall authored
for awhile. llvm-svn: 108232
-
Douglas Gregor authored
C++). Fixes PR7466. llvm-svn: 108231
-
Douglas Gregor authored
at -O0. The only change from the previous patch is that we don't try to generate virtual method thunks for an available_externally function. llvm-svn: 108230
-
Chris Lattner authored
llvm-svn: 108229
-
Eric Christopher authored
llvm-svn: 108228
-
Bob Wilson authored
avoid replicated code. llvm-svn: 108227
-
Chris Lattner authored
disassembler. Remove some code from the disassembler to compensate, unbreaking disassembly of lea's. llvm-svn: 108226
-
Bruno Cardoso Lopes authored
llvm-svn: 108224
-
Bruno Cardoso Lopes authored
llvm-svn: 108223
-
Bruno Cardoso Lopes authored
llvm-svn: 108222
-
Stephen Wilson authored
section entries. llvm-svn: 108221
-
Devang Patel authored
llvm-svn: 108220
-
Jakob Stoklund Olesen authored
they already have one. This fixes the himenobmtxpa miscompilation on ARM. The PostRA scheduler got confused by the double memoperand and hoisted a stack slot load above a store to the same slot. llvm-svn: 108219
-
Fariborz Jahanian authored
VarDecl. llvm-svn: 108218
-
Douglas Gregor authored
class templates within class scope (which is ill-formed), and recover by dropping the explicit specialization entirely. Fixes the infinite loop in PR7622. llvm-svn: 108217
-
Douglas Gregor authored
llvm-svn: 108214
-
David Greene authored
Move some SIMD fragment code into X86InstrFragmentsSIMD so that the utility classes can be used from multiple files. This will aid transitioning to a new refactored x86 SIMD specification. llvm-svn: 108213
-
Craig Silverstein authored
they're not something the user typed (at least, not here). llvm-svn: 108212
-
Greg Clayton authored
Makefile patch to explicitly use PROJ_SRC_DIR when required. It fixes build when obj dir is not source dir. I also fixed a build warning in ClangResultSynthesizer.cpp. llvm-svn: 108210
-
Sebastian Redl authored
llvm-svn: 108209
-
Greg Clayton authored
llvm-svn: 108208
-
Bruno Cardoso Lopes authored
llvm-svn: 108207
-
Devang Patel authored
While collecting members for a class, always create delcaration entry for methods. Debug info for method definition will be generated while generating code for method body. Tested by classes.exp in gdb testsuite. llvm-svn: 108205
-
Bruno Cardoso Lopes authored
llvm-svn: 108204
-
Stephen Wilson authored
llvm-svn: 108203
-