- Dec 30, 2010
-
-
Benjamin Kramer authored
llvm-svn: 122634
-
Rafael Espindola authored
The problem was that we were asserting the we never added an empty class to the same offset twice. This is not true for unions, where two members, empty or not, can have the some offset. llvm-svn: 122633
-
- Dec 29, 2010
-
-
Roman Divacky authored
llvm-svn: 122629
-
- Dec 28, 2010
-
-
Abramo Bagnara authored
llvm-svn: 122592
-
- Dec 27, 2010
-
-
Francois Pichet authored
1. Do not validate for uuid attribute if the type is template dependent. 2. Search every class declaration and definition for the uuid attribute. llvm-svn: 122578
-
- Dec 26, 2010
-
-
David Chisnall authored
Add support for GNU runtime property set / get structure functions. Minor refactoring of Mac runtime (returns the same function for both, as the Mac runtimes currently only provide a single entry point for setting and getting struct properties, although this will presumably be fixed at some point). llvm-svn: 122569
-
David Chisnall authored
llvm-svn: 122564
-
Chris Lattner authored
16-bits in size. Implement this by splitting WChar into two enums, like we have for char. This fixes a miscompmilation of XULRunner, PR8856. llvm-svn: 122558
-
- Dec 25, 2010
-
-
Michael J. Spencer authored
llvm-svn: 122552
-
- Dec 24, 2010
-
-
Ted Kremenek authored
SimpleSValBuilder. This clears up some false positives emitted by ArrayBoundCheckerV2 due to the lack of support for pointer arithmetic. llvm-svn: 122546
-
Argyrios Kyrtzidis authored
llvm-svn: 122543
-
Argyrios Kyrtzidis authored
Handle locations coming from macro instantiations properly in SourceManager::isBeforeInTranslationUnit(). Fixes rdar://8790245 and http://llvm.org/PR8821. llvm-svn: 122536
-
John McCall authored
on array and function declarators. This is pretty far from complete, and I'll revisit it later if someone doesn't beat me to it. llvm-svn: 122535
-
Douglas Gregor authored
caused an assertion when dealing with non-type template parameter packs. Add some tests for deduction and instantiation of non-type template parameter packs. llvm-svn: 122534
-
Douglas Gregor authored
llvm-svn: 122533
-
Douglas Gregor authored
extract the appropriate argument from the argument pack (based on the current substitution index, of course). Simple instantiation of pack expansions involving non-type template parameter packs now works. llvm-svn: 122532
-
Douglas Gregor authored
packs, e.g., template<typename T, unsigned ...Dims> struct multi_array; along with semantic analysis support for finding unexpanded non-type template parameter packs in types, expressions, and so on. Template instantiation involving non-type template parameter packs probably doesn't work yet. That'll come soon. llvm-svn: 122527
-
- Dec 23, 2010
-
-
Douglas Gregor authored
and 'default' statements, including a Fix-It to add the colon: test/Parser/switch-recovery.cpp:13:12: error: expected ':' after 'case' case 17 // expected-error{{expected ':' after 'case'}} ^ : test/Parser/switch-recovery.cpp:16:12: error: expected ':' after 'default' default // expected-error{{expected ':' after 'default'}} ^ : llvm-svn: 122522
-
Douglas Gregor authored
parameter packs (C++0x [dcl.fct]p13), including disambiguation between unnamed function parameter packs and varargs (C++0x [dcl.fct]p14) for cases like void f(T...) where T may or may not contain unexpanded parameter packs. llvm-svn: 122520
-
Ted Kremenek authored
to allow us to explicitly control whether or not Objective-C properties are default synthesized. Currently this feature only works when using the -fobjc-non-fragile-abi2 flag (so there is no functionality change), but we can now turn off this feature without turning off all the features coupled with -fobjc-non-fragile-abi2. llvm-svn: 122519
-
Ted Kremenek authored
layout. :) Rename the 'EntoSA' directories to 'StaticAnalyzer'. Internally we will still use the 'ento' namespace for the analyzer engine (unless there are further sabre rattlings...). llvm-svn: 122514
-
Douglas Gregor authored
specialization's template arguments against the primary template's template arguments using the obvious, correct method of checking the injected-class-name type (C++ [temp.class.spec]p9b3). The previous incarnation of this comparison attempted to use its own formulation of the injected-class-name, which is redudant and, with the introduction of variadic templates, became wrong (again). llvm-svn: 122508
-
Douglas Gregor authored
template argument corresponding to a template parameter pack is an argument pack of a pack expansion of that template parameter pack. Implements C++0x [temp.dep.type]p2 (at least, as much of it as we can). llvm-svn: 122498
-
Zhongxing Xu authored
llvm-svn: 122494
-
Ted Kremenek authored
update Makefile. llvm-svn: 122493
-
Ted Kremenek authored
llvm-svn: 122492
-
Ted Kremenek authored
to correctly print out negative values for signed integers. llvm-svn: 122470
-
Ted Kremenek authored
checker based on using raw (symbolic) byte offsets from a base region. llvm-svn: 122469
-
Ted Kremenek authored
for array indices. llvm-svn: 122468
-
Ted Kremenek authored
to also include signedness and bitwidth of the underlying integer. llvm-svn: 122466
-
Douglas Gregor authored
parameter packs. In particular, a parameter pack not otherwise deduced is deduced to an empty parameter pack. The C++0x wording here is a bit unfortunate; this should really only apply to function templates, and it mentions "trailing" parameter packs, which doesn't really make sense in the context of function templates. Will file a core issue separately. llvm-svn: 122463
-
Douglas Gregor authored
the presence of a pack expansion anywhere except at the end of a template-argument-list causes the entire template-argument-list to be a non-deduced context. llvm-svn: 122461
-
Jeffrey Yasskin authored
new gcc warning that complains on self-assignments and self-initializations. Fix one bug found by the warning, in which one clang::OverloadCandidate constructor failed to initialize its FunctionTemplate member. llvm-svn: 122459
-
Douglas Gregor authored
llvm-svn: 122454
-
Douglas Gregor authored
single routine. Extend that routine to handle consistency checking for template argument packs, so that we can compare the deduced packs for template parameter packs across different pack expansions. llvm-svn: 122452
-
- Dec 22, 2010
-
-
Argyrios Kyrtzidis authored
llvm-svn: 122442
-
Douglas Gregor authored
pattern is a template argument, which involves repeatedly deducing template arguments using the pattern of the pack expansion, then bundling the resulting deductions into an argument pack. We can now handle a variety of simple list-handling metaprograms using variadic templates. See, e.g., the new "count" metaprogram. llvm-svn: 122439
-
Argyrios Kyrtzidis authored
llvm-svn: 122436
-
Argyrios Kyrtzidis authored
llvm-svn: 122433
-
Argyrios Kyrtzidis authored
llvm-svn: 122432
-