- 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
-
Daniel Dunbar authored
llvm-svn: 91229
-
- Dec 12, 2009
-
-
Fariborz Jahanian authored
(fixes radar 7466494). llvm-svn: 91227
-
Ted Kremenek authored
llvm-svn: 91222
-
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
-
Zhongxing Xu authored
llvm-svn: 91216
-
John McCall authored
llvm-svn: 91215
-
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
no extra safety anyway. llvm-svn: 91207
-
Eli Friedman authored
llvm-svn: 91205
-
Anders Carlsson authored
llvm-svn: 91204
-
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
-
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
-
Ted Kremenek authored
Make using '-fshort-enums' an error until it is actually implemented (changes the ABI, so it is dangerous to not error out if we don't support it). Fixes <rdar://problem/7461006>. llvm-svn: 91191
-
Anders Carlsson authored
llvm-svn: 91190
-
Anders Carlsson authored
llvm-svn: 91189
-
Anders Carlsson authored
llvm-svn: 91187
-
Douglas Gregor authored
llvm-svn: 91185
-
Daniel Dunbar authored
llvm-svn: 91183
-
Anders Carlsson authored
llvm-svn: 91182
-
Anders Carlsson authored
llvm-svn: 91180
-
Ted Kremenek authored
scan-build: when the build command is 'make', override the CC and CXX options by passing them as arguments to make. This fixes <rdar://problem/6790224>. llvm-svn: 91179
-
Daniel Dunbar authored
llvm-svn: 91178
-
Ted Kremenek authored
llvm-svn: 91177
-
Daniel Dunbar authored
llvm-svn: 91176
-
Daniel Dunbar authored
llvm-svn: 91174
-
- Dec 11, 2009
-
-
Daniel Dunbar authored
Tests: Change substitution to automagically use 'clang -cc1' instead of 'clang-cc'. I still plan to eventually rewrite the tests to clarify the magic (I will probably actually rewrite them to %clang so it is more obvious this is a variable that gets substituted). llvm-svn: 91173
-
Ted Kremenek authored
llvm-svn: 91172
-
Fariborz Jahanian authored
(fixes radar 7465023). llvm-svn: 91171
-