- Dec 13, 2009
-
-
Daniel Dunbar authored
Lift builtin-include-path logic out of ASTUnit::LoadFromCommandLine and fix CIndex to pass in the right directory (previously it was using the path to the main executable, which generally is wrong). llvm-svn: 91238
-
Daniel Dunbar authored
llvm-svn: 91237
-
Daniel Dunbar authored
llvm-svn: 91236
-
Daniel Dunbar authored
because it had two inputs, except on Win32 where /dev/null doesn't exist. llvm-svn: 91235
-
Chandler Carruth authored
llvm-svn: 91234
-
Anton Korobeynikov authored
llvm-svn: 91233
-
Anton Korobeynikov authored
llvm-svn: 91232
-
Eli Friedman authored
llvm-svn: 91230
-
Daniel Dunbar authored
llvm-svn: 91229
-
- Dec 12, 2009
-
-
Eli Friedman authored
merging x >u 5 and x <s 20 because it's impossible to implement. llvm-svn: 91228
-
Fariborz Jahanian authored
(fixes radar 7466494). llvm-svn: 91227
-
Daniel Dunbar authored
llvm-svn: 91226
-
Evan Cheng authored
llvm-svn: 91223
-
Ted Kremenek authored
llvm-svn: 91222
-
Anton Korobeynikov authored
No testcase yet - it seems we're exposing generic codegen bugs. llvm-svn: 91221
-
Evan Cheng authored
llvm-svn: 91220
-
Evan Cheng authored
llvm-svn: 91219
-
Douglas Gregor authored
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
-
Torok Edwin authored
MSVS2k8 doesn't define __i386__, hence all the CPU detection code was disabled. Enable it by looking for _MSC_VER. llvm-svn: 91217
-
Zhongxing Xu authored
llvm-svn: 91216
-
John McCall authored
llvm-svn: 91215
-
Benjamin Kramer authored
llvm-svn: 91214
-
Douglas Gregor authored
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
-
Douglas Gregor authored
Give PartialDiagnostic copy semantics rather than move semantics, since we typically pass it by reference llvm-svn: 91212
-
Douglas Gregor authored
llvm-svn: 91211
-
Douglas Gregor authored
__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
-
Jeffrey Yasskin authored
defined in the test, and I don't have time tonight to figure it out. llvm-svn: 91209
-
Jeffrey Yasskin authored
supported by emitGlobals, but I don't have a test case for that. llvm-svn: 91208
-
Jeffrey Yasskin authored
no extra safety anyway. llvm-svn: 91207
-
Jeffrey Yasskin authored
namespace llvm" by qualifying their implementations with ::llvm::. llvm-svn: 91206
-
Eli Friedman authored
llvm-svn: 91205
-
Anders Carlsson authored
llvm-svn: 91204
-
Jim Grosbach authored
just issues an error for the moment. The front end won't yet generate these intrinsics for ARM, so this is behind the scenes until complete. llvm-svn: 91200
-
Mike Stump authored
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
-
Eli Friedman authored
llvm-svn: 91197
-
Ted Kremenek authored
llvm-svn: 91196
-
Daniel Dunbar authored
- tools/driver will be renamed to tools/clang at some point. llvm-svn: 91195
-
Ted Kremenek authored
llvm-svn: 91194
-
Daniel Dunbar authored
llvm-svn: 91193
-
Daniel Dunbar authored
llvm-svn: 91192
-