- Mar 11, 2009
-
-
Zhongxing Xu authored
llvm-svn: 66649
-
Ted Kremenek authored
offset may be different that the base. Ultimately we need a better solution for these issues, but this point-by-point fixes are gradually outlining the scope of the problem. llvm-svn: 66638
-
Ted Kremenek authored
llvm-svn: 66636
-
Ted Kremenek authored
return an unsigned integer for a null pointer value. llvm-svn: 66630
-
Ted Kremenek authored
llvm-svn: 66629
-
Ted Kremenek authored
values. Indicating this in 'canReasonAbout' allows GRExprEngine to recover path-sensitivity in some cases. llvm-svn: 66628
-
Ted Kremenek authored
path-sensitivity, beyond checking to see if the value is "unknown" also check if the ConstraintManager can handle the SVal. This allows us to recover some path-sensitivity by actually discarding some information. llvm-svn: 66627
-
Ted Kremenek authored
a ConstraintManager can usefully reason about the given SVal. llvm-svn: 66624
-
Ted Kremenek authored
llvm-svn: 66622
-
Chris Lattner authored
with "clang t.i s.i" where the .i files contain line markers. rdar://6667812 llvm-svn: 66619
-
Chris Lattner authored
llvm-svn: 66618
-
Fariborz Jahanian authored
Work in progress. llvm-svn: 66615
-
Chris Lattner authored
llvm-svn: 66614
-
Chris Lattner authored
Sema/asm.c:64:9: error: invalid % escape in inline assembly string asm("%!" : ); // expected-error {{invalid % escape in inline assembly string}} ~~^~ llvm-svn: 66606
-
Chris Lattner authored
llvm-svn: 66605
-
Daniel Dunbar authored
llvm-svn: 66603
-
Douglas Gregor authored
translation unit. Thread the various declarations of variables via VarDecl::getPreviousDeclaration. llvm-svn: 66601
-
Daniel Dunbar authored
- Replace assorted -ccc-host-* options by -ccc-host-triple which is more sane. llvm-svn: 66600
-
Chris Lattner authored
llvm-svn: 66598
-
Chris Lattner authored
code where Sema can get to it. No functionality change. llvm-svn: 66596
-
- Mar 10, 2009
-
-
Douglas Gregor authored
definitions. We were rejecting tentative definitions of incomplete (which is bad), and now we don't. This fix is partial because we don't do the end-of-translation-unit initialization for tentative definitions that don't ever have any initializers specified. llvm-svn: 66584
-
Devang Patel authored
llvm-svn: 66580
-
Daniel Dunbar authored
- Follows ccc currently, but this functionality should eventually be outside the Driver lib. llvm-svn: 66575
-
Douglas Gregor authored
context of a template-id for which we need to instantiate default template arguments. In the TextDiagnosticPrinter, don't suppress the caret diagnostic if we are producing a non-note diagnostic that follows a note diagnostic with the same location, because notes are (conceptually) a part of the warning or error that comes before them. llvm-svn: 66572
-
Douglas Gregor authored
only print the template instantiation backtrace for the first error. Also, if a base class has failed to type-check during instantiation, just drop that base class and continue on to check other base classes. llvm-svn: 66563
-
Douglas Gregor authored
'struct A<double, int>' In the "template instantiation depth exceeded" message, print "-ftemplate-depth-N" rather than "-ftemplate-depth=N". An unnamed tag type that is declared with a typedef, e.g., typedef struct { int x, y; } Point; can be used as a template argument. Allow this, and check that we get sensible pretty-printing for such things. llvm-svn: 66560
-
Douglas Gregor authored
When pretty-printing an anonymous tag type that is associated with a typedef, use the name of the typedef rather than <anonymous> llvm-svn: 66559
-
Douglas Gregor authored
to a diagnostic that will be invoked after the diagnostic (if it is not suppressed). The hooks are allowed to produce additional diagnostics (typically notes) that provide more information. We should be able to use this to help diagnostic clients link notes back to the diagnostic they clarify. Comments welcome; I'll write up documentation and convert other clients (e.g., overload resolution failures) if there are no screams of protest. As the first client of post-diagnostic hooks, we now produce a template instantiation backtrace when a failure occurs during template instantiation. There's still more work to do to make this output pretty, if that's even possible. llvm-svn: 66557
-
Fariborz Jahanian authored
using property dot-syntax. llvm-svn: 66556
-
Daniel Dunbar authored
llvm-svn: 66555
-
Steve Naroff authored
llvm-svn: 66551
-
Anders Carlsson authored
llvm-svn: 66549
-
Fariborz Jahanian authored
Work in progress. llvm-svn: 66546
-
Chris Lattner authored
done in sema, and is reflected by the existing PR3258. In the meantime, fix PR3682 by disabling a bogus assertion (which doesn't account for + operands). llvm-svn: 66533
-
Chris Lattner authored
add support for modifiers on named references, like %c[foo]. llvm-svn: 66532
-
Chris Lattner authored
time handle + operands in operand counting, fixing asm.c:t7 to expand into $2 instead of $1. llvm-svn: 66531
-
Chris Lattner authored
temporary std::string to fix a fixme. llvm-svn: 66530
-
Chris Lattner authored
asm. This allows us to properly handle the case when an optimizer duplicates the asm, such as here: void bar() { int i; for (i = 0; i < 3; ++i) asm("foo %=" : : "r"(0)); } we now produce: _bar: xorl %eax, %eax ## InlineAsm Start foo 0 ## InlineAsm End ## InlineAsm Start foo 1 ## InlineAsm End ## InlineAsm Start foo 2 ## InlineAsm End ret instead of: _bar: xorl %eax, %eax ## InlineAsm Start foo 1 ## InlineAsm End ## InlineAsm Start foo 1 ## InlineAsm End ## InlineAsm Start foo 1 ## InlineAsm End ret This also fixes a fixme by eliminating a static. llvm-svn: 66528
-
Ted Kremenek authored
- Group control flow and event PathDiagnosticPieces into PathDiagnosticMacroPieces. - Afterwards, eliminate any PathDiagnosticMacroPieces from a PathDiagnostic that contain no informative events. HTMLDiagnostics: - Use new information about PathDiagnosticMacroPieces to specially format message bubbles for macro expansions containing interesting events. llvm-svn: 66524
-
Ted Kremenek authored
specific point sizes. llvm-svn: 66523
-