- Sep 07, 2011
-
-
Eli Friedman authored
llvm-svn: 139224
-
Argyrios Kyrtzidis authored
llvm-svn: 139223
-
Argyrios Kyrtzidis authored
are returning a pointer to pointer. llvm-svn: 139222
-
Eli Friedman authored
Relax the MemOperands on atomics a bit. Fixes -verify-machineinstrs failures for atomic laod/store on ARM. (The fix for the related failures on x86 is going to be nastier because we actually need Acquire memoperands attached to the atomic load instrs, etc.) llvm-svn: 139221
-
Joerg Sonnenberger authored
name. llvm-svn: 139220
-
Richard Trieu authored
ExprResult LHS, RHS, Expr *LHSExpr, *RHSExpr QualType LHSType, RHSType Functions changed: DiagnoseLogicalAndInLogicalOrLHS() DiagnoseBinOpPrecedence() ActOnBinOp() BuildBinOp() llvm-svn: 139219
-
Richard Trieu authored
ExprResult LHS, RHS, Expr *LHSExpr, *RHSExpr QualType LHSType, RHSType Functions changed: CreateBuiltinBinOp() DiagnoseBitwisePrecedence() llvm-svn: 139218
-
Chandler Carruth authored
a stack array of a magical size with an assert() that we never overflowed it. That seems incredibly risky. We also have a very nice API for bundling up a vector we expect to usually have a small size without loss of functionality or security if the size is excessive. The fallout is to remove the last pointer+size parameter pair that are traced through the recursive caret diagnostic emission. llvm-svn: 139217
-
Eli Friedman authored
Switch clang over to using fence/atomicrmw/cmpxchg instead of the intrinsics (which will go away). LLVM CodeGen does almost exactly the same thing with these and the old intrinsics, so I'm reasonably confident this will not break anything. There are still a few issues which need to be resolved with code generation for atomic load and store, so I'm not converting the places which need those for now. I'm not entirely sure what to do about __builtin_llvm_memory_barrier: the fence instruction doesn't expose all the possibilities which can be expressed by __builtin_llvm_memory_barrier. I would appreciate hearing from anyone who is using this intrinsic. llvm-svn: 139216
-
Richard Trieu authored
ExprResult LHS, RHS, Expr *LHSExpr, *RHSExpr QualType LHSType, RHSType Functions changed: CheckAssignmentOperands() DiagnoseSelfAssignment() checkArithmeticNull() llvm-svn: 139215
-
Richard Trieu authored
ExprResult LHS, RHS, Expr *LHSExpr, *RHSExpr QualType LHSType, RHSType Functions changed: CheckVectorCompareOperands() CheckBitwiseOperands() CheckLogicalOperands() llvm-svn: 139214
-
Richard Trieu authored
Change the self-reference visitor (which gives the warning for self-reference oninitalization warning of -Wuninitialized) to exclude member variables that can decay into pointers. This will cause it to no longer warn on this code: struct foo { char a[100], *e; } bar = { .e = bar.a }; llvm-svn: 139213
-
Fariborz Jahanian authored
to be 'weak'. This prevents a crash and should probably be flagged as error - later to come. llvm-svn: 139211
-
Francois Pichet authored
In Microsoft mode, if we are inside a template class member function and we can't resolve a function call then create a type-dependent CallExpr even if the function has no type dependent arguments. The goal is to postpone name lookup to instantiation time to be able to search into type dependent base classes. With this patch in, clang will generate only 37 errors (down from 212) when parsing a typical MFC source file. llvm-svn: 139210
-
Johnny Chen authored
to determine its validity. llvm-svn: 139209
-
Devang Patel authored
While sinking machine instructions, sink matching DBG_VALUEs also otherwise live debug variable pass will drop DBG_VALUEs on the floor. llvm-svn: 139208
-
Chad Rosier authored
preprocessor output) with multiple -arch options. llvm-svn: 139207
-
Bill Wendling authored
information for older linkers. llvm-svn: 139206
-
Owen Anderson authored
llvm-svn: 139205
-
Owen Anderson authored
Fixes PR10872 and <rdar://problem/10065079>. llvm-svn: 139204
-
Fariborz Jahanian authored
// rdar://10073896 llvm-svn: 139203
-
Jim Grosbach authored
llvm-svn: 139202
-
Enrico Granata authored
Refactoring of Get() methods in FormatManager/FormatCategory to have explicative names and return shared-pointers instead of bools Reduced the amount of memory required to avoid loops in DumpPrintableRepresentation() from 32 bits down to 1 bit - Additionally, disallowed creating summary strings of the form ${var%S} which did nothing but cause endless loops by definition llvm-svn: 139201
-
Jim Grosbach authored
llvm-svn: 139200
-
Jim Grosbach authored
llvm-svn: 139199
-
Johnny Chen authored
Also update the signature of WatchpointLocation::SetEnable() to take a bool as input arg. llvm-svn: 139198
-
Chandler Carruth authored
llvm-svn: 139197
-
Chandler Carruth authored
inspection. llvm-svn: 139196
-
Chandler Carruth authored
Clean up loops over the hints to use the more idiomatic iterator form in LLVM and Clang. llvm-svn: 139195
-
Jim Grosbach authored
llvm-svn: 139194
-
Jim Grosbach authored
llvm-svn: 139193
-
Nick Lewycky authored
these tests all infinitely recurse, bringing my system down into swapping hell. llvm-svn: 139192
-
Jim Grosbach authored
llvm-svn: 139191
-
Chandler Carruth authored
a defined interface. This isn't as nice as the previous one, but should get better as I push through better data types in all these functions. Also, I'm hoping to pull some aspects of this out into a common routine (such as tab expansion). Again, WIP, comments welcome as I'm going through. llvm-svn: 139190
-
- Sep 06, 2011
-
-
Jim Grosbach authored
llvm-svn: 139188
-
Richard Trieu authored
ExprResult LHS, RHS, Expr *LHSExpr, *RHSExpr QualType LHSType, RHSType Functions changed: CheckCompareOperands() llvm-svn: 139187
-
Nick Lewycky authored
handle anything more complex. Fixes PR10383 again! llvm-svn: 139186
-
Douglas Gregor authored
to look through SubstNonTypeTemplateParmExprs. Then, update the IR generation of CallExprs to actually use CallExpr::getCalleeDecl() rather than attempting to mimick its behavior (badly). Fixes <rdar://problem/10063539>. llvm-svn: 139185
-
Richard Trieu authored
ExprResult LHS, RHS, Expr *LHSExpr, *RHSExpr QualType LHSType, RHSType Functions changed: checkEnumComparison() diagnoseDistinctPointerComparison() convertPointersToCompositeType() diagnoseFunctionPointerToVoidComparison() llvm-svn: 139184
-
Richard Trieu authored
ExprResult LHS, RHS, Expr *LHSExpr, *RHSExpr QualType LHSType, RHSType Functions changed: DiagnoseBadShiftValues() CheckShiftOperands() llvm-svn: 139183
-