| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Tests use the new clang. | Fariborz Jahanian | 2009-12-14 | 102 | -123/+123 | |
| | | | | | llvm-svn: 91290 | |||||
| * | When rebuilding CXXConstructExprs after a transformation, use | Douglas Gregor | 2009-12-14 | 2 | -5/+29 | |
| | | | | | | | CompleteConstructorCall to perform type-checking. llvm-svn: 91279 | |||||
| * | Replace clang-cc with clang -cc1. | Zhongxing Xu | 2009-12-14 | 79 | -183/+183 | |
| | | | | | llvm-svn: 91272 | |||||
| * | teach clang to recover gracefully from conflict markers left in source | Chris Lattner | 2009-12-14 | 4 | -15/+170 | |
| | | | | | | | files: PR5238. llvm-svn: 91270 | |||||
| * | Revert mmx palignr to use an intrinsic, since mmx shuffle patterns are missing. | Nate Begeman | 2009-12-14 | 4 | -3/+10 | |
| | | | | | llvm-svn: 91269 | |||||
| * | this was a couple bugzillas too | Chris Lattner | 2009-12-14 | 1 | -1/+1 | |
| | | | | | llvm-svn: 91267 | |||||
| * | fix rdar://7466570 - Be more bug compatible with GCC when it comes to | Chris Lattner | 2009-12-14 | 2 | -2/+41 | |
| | | | | | | | | | expanding directives withing macro expansions. This is undefined behavior according to 6.10.3p11, so we might as well be undefined in ways similar to GCC. llvm-svn: 91266 | |||||
| * | filecheckize | Chris Lattner | 2009-12-14 | 1 | -5/+4 | |
| | | | | | llvm-svn: 91265 | |||||
| * | Support x86's PALIGNR instruction without the use of a palignr intrinsic. | Nate Begeman | 2009-12-14 | 4 | -8/+51 | |
| | | | | | llvm-svn: 91264 | |||||
| * | formatting changes. | Chris Lattner | 2009-12-14 | 2 | -5/+8 | |
| | | | | | llvm-svn: 91263 | |||||
| * | reduce indentation. | Chris Lattner | 2009-12-14 | 1 | -15/+14 | |
| | | | | | llvm-svn: 91262 | |||||
| * | Use insert to avoid destroying existing nodes. | Zhongxing Xu | 2009-12-14 | 1 | -1/+1 | |
| | | | | | llvm-svn: 91258 | |||||
| * | Mangle unary, binary and ternary expressions correctly. | Anders Carlsson | 2009-12-14 | 2 | -18/+86 | |
| | | | | | llvm-svn: 91257 | |||||
| * | Rename dump to dumpDeclContext, so that call RD->dump() won't dump the decl ↵ | Anders Carlsson | 2009-12-14 | 2 | -2/+2 | |
| | | | | | | | context by default. llvm-svn: 91256 | |||||
| * | Simplify BuildSimpleType in the RTTBuilder to avoid using an std::vector. | Anders Carlsson | 2009-12-13 | 1 | -11/+6 | |
| | | | | | llvm-svn: 91255 | |||||
| * | Fix PR5756 a different, better way: we don't have a "pointer | Douglas Gregor | 2009-12-13 | 1 | -25/+20 | |
| | | | | | | | | conversion to void*" according to C++ [over.ics.rank]p4b2 if the type we're converting from is not a pointer. llvm-svn: 91254 | |||||
| * | Don't assume that all conversions to a void pointer are converting | Douglas Gregor | 2009-12-13 | 2 | -20/+35 | |
| | | | | | | | from a PointerType. Fixes PR5756. llvm-svn: 91253 | |||||
| * | Fix template instantiation for non-dependent calls to overloaded call | Douglas Gregor | 2009-12-13 | 2 | -0/+80 | |
| | | | | | | | operators. Fixes PR5266. llvm-svn: 91252 | |||||
| * | Don't use a cookie if the global placement new function is used. | Anders Carlsson | 2009-12-13 | 1 | -1/+13 | |
| | | | | | llvm-svn: 91251 | |||||
| * | Fix regression in my last commit - if a struct has a trivial destructor but ↵ | Anders Carlsson | 2009-12-13 | 1 | -9/+17 | |
| | | | | | | | no usual deallocation function we don't need a cookie. llvm-svn: 91249 | |||||
| * | More array cookie improvements. | Anders Carlsson | 2009-12-13 | 2 | -69/+105 | |
| | | | | | llvm-svn: 91247 | |||||
| * | If the usual array deallocation function of a class takes two arguments, we ↵ | Anders Carlsson | 2009-12-13 | 1 | -27/+46 | |
| | | | | | | | need to pass the number of bytes allocated to the deallocation function, just not the number of bytes in a single element. llvm-svn: 91246 | |||||
| * | Fix test. | Anders Carlsson | 2009-12-13 | 1 | -1/+1 | |
| | | | | | llvm-svn: 91245 | |||||
| * | More improvements to checking allocation and deallocation functions. | Anders Carlsson | 2009-12-13 | 5 | -51/+117 | |
| | | | | | llvm-svn: 91244 | |||||
| * | Change the RTTIBuilder's finish member function to take a pointer to the ↵ | Anders Carlsson | 2009-12-13 | 1 | -7/+5 | |
| | | | | | | | constants array + the length of the array. llvm-svn: 91241 | |||||
| * | Lift builtin-include-path logic out of ASTUnit::LoadFromCommandLine and fix ↵ | Daniel Dunbar | 2009-12-13 | 4 | -29/+43 | |
| | | | | | | | CIndex to pass in the right directory (previously it was using the path to the main executable, which generally is wrong). llvm-svn: 91238 | |||||
| * | CompilerInvocation: Move builtin-include-path logic out of ↵ | Daniel Dunbar | 2009-12-13 | 6 | -28/+42 | |
| | | | | | | | CompilerInvocation::CreateFromArgs. llvm-svn: 91237 | |||||
| * | Use clang -cc1 in test, to improve determinism. | Daniel Dunbar | 2009-12-13 | 1 | -1/+1 | |
| | | | | | llvm-svn: 91236 | |||||
| * | Tests: Fix some bugs in clang_f_opts, options were out of order but it worked | Daniel Dunbar | 2009-12-13 | 2 | -6/+5 | |
| | | | | | | | because it had two inputs, except on Win32 where /dev/null doesn't exist. llvm-svn: 91235 | |||||
| * | Silence some release build warnings. | Chandler Carruth | 2009-12-13 | 3 | -0/+3 | |
| | | | | | llvm-svn: 91234 | |||||
| * | Backend: Switch to using TargetOptions or TargetMachine to set some options ↵ | Daniel Dunbar | 2009-12-12 | 1 | -20/+40 | |
| | | | | | | | instead of llvm::cl. llvm-svn: 91229 | |||||
| * | patch to add a property from a protocol to a class that adopts the protocol. | Fariborz Jahanian | 2009-12-12 | 2 | -0/+66 | |
| | | | | | | | (fixes radar 7466494). llvm-svn: 91227 | |||||
| * | Update checker build. | Ted Kremenek | 2009-12-12 | 1 | -1/+1 | |
| | | | | | llvm-svn: 91222 | |||||
| * | Rework the way we handle template instantiation for | Douglas Gregor | 2009-12-12 | 4 | -46/+90 | |
| | | | | | | | | | | | | | | | | | | | | | | | | implicitly-generated AST nodes. We previously built instantiated nodes for each of these AST nodes, then passed them on to Sema, which was not prepared to see already-type-checked nodes (see PR5755). In some places, we had ugly workarounds to try to avoid re-type-checking (e.g., in VarDecl initializer instantiation). Now, we skip implicitly-generated nodes when performing instantiation, preferring instead to build just the AST nodes that directly reflect what was written in the source code. This has several advantages: - We don't need to instantiate anything that doesn't have a direct correlation to the source code, so we can have better location information. - Semantic analysis sees the same thing at template instantiation time that it would see for a non-template. - At least one ugly hack (VarDecl initializers) goes away. Fixes PR5755. llvm-svn: 91218 | |||||
| * | Add initial support for realloc() in MallocChecker. | Zhongxing Xu | 2009-12-12 | 3 | -10/+94 | |
| | | | | | llvm-svn: 91216 | |||||
| * | Remember the type name's scope specifier in the DeclSpec. | John McCall | 2009-12-12 | 3 | -43/+49 | |
| | | | | | llvm-svn: 91215 | |||||
| * | When certain diagnostics involving run-time behavior would be emitted | Douglas Gregor | 2009-12-12 | 3 | -14/+60 | |
| | | | | | | | | | in a potentially potentially evaluated context, queue those diagnostics and only emit them if the context ends up being potentially evaluated. This completes the fix for PR5761. llvm-svn: 91213 | |||||
| * | Give PartialDiagnostic copy semantics rather than move semantics, since we ↵ | Douglas Gregor | 2009-12-12 | 1 | -7/+22 | |
| | | | | | | | typically pass it by reference llvm-svn: 91212 | |||||
| * | Remove unnecessary pointers from PartialDiagnostic | Douglas Gregor | 2009-12-12 | 1 | -3/+3 | |
| | | | | | llvm-svn: 91211 | |||||
| * | Suppress warnings and errors about certain uses of non-POD types (in | Douglas Gregor | 2009-12-12 | 3 | -11/+59 | |
| | | | | | | | | | __builtin_offsetof, passing through an ellipsis) when we're in an unevaluated context. This is the first part of the fix to PR5761, which deals with the simple case of an unevaluated context. llvm-svn: 91210 | |||||
| * | Un-namespace-qualify llvm_unreachable. It's a macro, so the qualification gave | Jeffrey Yasskin | 2009-12-12 | 22 | -44/+44 | |
| | | | | | | | no extra safety anyway. llvm-svn: 91207 | |||||
| * | Fix for PR4642: move work in HTMLPrinter out of the destructor. | Eli Friedman | 2009-12-12 | 1 | -2/+2 | |
| | | | | | llvm-svn: 91205 | |||||
| * | Fix tyop. | Anders Carlsson | 2009-12-12 | 1 | -1/+1 | |
| | | | | | llvm-svn: 91204 | |||||
| * | Implement runtime checks for undefined behavior. WIP. | Mike Stump | 2009-12-12 | 10 | -1/+83 | |
| | | | | | | | | | | | | | | This implements a new flag -fcatch-undefined-behavior. The flag turns on additional runtime checks for: T a[I]; a[i] abort when i < 0 or i >= I. Future stuff includes shifts by >= bitwidth amounts. llvm-svn: 91198 | |||||
| * | We should only scan for nested blocks if we are analyzing the body of a ↵ | Ted Kremenek | 2009-12-12 | 1 | -1/+1 | |
| | | | | | | | function/method. llvm-svn: 91196 | |||||
| * | Remove clang-cc tool, it has joined in unholy union with clang. | Daniel Dunbar | 2009-12-12 | 8 | -420/+9 | |
| | | | | | | | - tools/driver will be renamed to tools/clang at some point. llvm-svn: 91195 | |||||
| * | Convert the remainder of this test case over to using FileCheck. | Ted Kremenek | 2009-12-12 | 1 | -9/+11 | |
| | | | | | llvm-svn: 91194 | |||||
| * | XFAIL this test on Win32 until I can take a look. | Daniel Dunbar | 2009-12-12 | 1 | -0/+1 | |
| | | | | | llvm-svn: 91193 | |||||
| * | Remove non-sensical FIXME. | Daniel Dunbar | 2009-12-12 | 1 | -1/+0 | |
| | | | | | llvm-svn: 91192 | |||||
| * | Make using '-fshort-enums' an error until it is actually implemented ↵ | Ted Kremenek | 2009-12-12 | 3 | -1/+6 | |
| | | | | | | | (changes the ABI, so it is dangerous to not error out if we don't support it). Fixes <rdar://problem/7461006>. llvm-svn: 91191 | |||||

