- Mar 03, 2011
-
-
Ted Kremenek authored
llvm-svn: 126910
-
Ted Kremenek authored
llvm-svn: 126909
-
Matt Beaumont-Gay authored
llvm-svn: 126907
-
Matt Beaumont-Gay authored
llvm-svn: 126897
-
- Mar 02, 2011
-
-
Dan Gohman authored
llvm-svn: 126890
-
Douglas Gregor authored
llvm-svn: 126888
-
Douglas Gregor authored
which is important for libclang's token-annotation and where's-my-cursor functionality. Fixes <rdar://problem/9004439>. llvm-svn: 126887
-
Tilmann Scheller authored
This reverts commit 126863. llvm-svn: 126886
-
Rafael Espindola authored
llvm-svn: 126884
-
Benjamin Kramer authored
llvm-svn: 126883
-
Douglas Gregor authored
nested-name-specifier and improve the detection of implicit 'this' bases. Fixes <rdar://problem/8750392>. llvm-svn: 126880
-
John McCall authored
llvm-svn: 126879
-
Tilmann Scheller authored
This reverts commit 126865. llvm-svn: 126876
-
Ted Kremenek authored
Introduce CFGImplicitDtor::isNoReturn() to query whether a destructor actually returns. Use this for -Wreturn-type to prune false positives reported in PR 6884. llvm-svn: 126875
-
Devang Patel authored
llvm-svn: 126874
-
Fariborz Jahanian authored
// rdar://8604515. llvm-svn: 126869
-
Tilmann Scheller authored
llvm-svn: 126865
-
Tilmann Scheller authored
llvm-svn: 126863
-
Devang Patel authored
Encode argument numbering in debug info so that code generator can emit them in order. This fixes few blocks.exp regressions. Reapply r126795 with a fix (one character change) for gdb testsuite regressions. llvm-svn: 126858
-
Douglas Gregor authored
llvm-svn: 126857
-
Douglas Gregor authored
TreeTransform::TransformDependentTemplateSpecializationType() with poor source-location information handling. All of the CXXScopeSpec::MakeTrivial() and NestedNameSpecifierLocBuilder::MakeTrivial() callers actually make sense now. llvm-svn: 126856
-
Douglas Gregor authored
them, which are no longer used. llvm-svn: 126855
-
Douglas Gregor authored
Eliminate an unnecessary use of CXXScopeSpec::MakeTrivial. We have proper nested-name-specifier source-location information in DependentTemplateSpecializationTypeLocs now llvm-svn: 126854
-
Douglas Gregor authored
source-location-preserving TreeTransform::TranformNestedNameSpecifierLoc(). No functionality change: the victim had no callers (that themselves had callers) anyway. llvm-svn: 126853
-
Douglas Gregor authored
poor source-location information. llvm-svn: 126852
-
Douglas Gregor authored
overloads (the one with the poor source-location information). llvm-svn: 126851
-
Douglas Gregor authored
that preserve source-location information. This commit adds more redundancy than it removes; WIP. llvm-svn: 126849
-
Devang Patel authored
llvm-svn: 126848
-
Douglas Gregor authored
template arguments. I believe that this is the last place in the AST where we were storing a source range for a nested-name-specifier rather than a proper nested-name-specifier location structure. (Yay!) There is still a lot of cleanup to do in the TreeTransform, which doesn't take advantage of nested-name-specifiers with source-location information everywhere it could. llvm-svn: 126844
-
John McCall authored
llvm-svn: 126841
-
John McCall authored
using a custom plural form. Split out the range diagnostics as their own message. llvm-svn: 126840
-
John McCall authored
of an Objective-C method to be overridden on a case-by-case basis. This is a higher-level tool than ns_returns_retained &c.; it lets users specify that not only does a method have different retain/release semantics, but that it semantically acts differently than one might assume from its name. This in turn is quite useful to static analysis. llvm-svn: 126839
-
John McCall authored
captured __block variables in the block-literal type. llvm-svn: 126834
-
John McCall authored
used for attributes that are okay to inherit when written on a parameter. Dependent on LLVM r126827. llvm-svn: 126828
-
John McCall authored
whether C++ exceptions are enabled, not exceptions in general. PR9358. llvm-svn: 126820
-
Douglas Gregor authored
of an expansion, and we have a paramameter that is not a parameter pack, don't suppress substitution of parameter packs within this context. llvm-svn: 126819
-
John McCall authored
conventional categories into Basic and AST. Update the self-init checker to use this logic; CFRefCountChecker is complicated enough that I didn't want to touch it. llvm-svn: 126817
-
Eli Friedman authored
can't overflow due to promotion rules; emit a wrapping add for those cases. llvm-svn: 126816
-
Daniel Dunbar authored
llvm-svn: 126810
-
Douglas Gregor authored
template specialization types. This also required some parser tweaks, since we were losing track of the nested-name-specifier's source location information in several places in the parser. Other notable changes this required: - Sema::ActOnTagTemplateIdType now type-checks and forms the appropriate type nodes (+ source-location information) for an elaborated-type-specifier ending in a template-id. Previously, we used a combination of ActOnTemplateIdType and ActOnTagTemplateIdType that resulted in an ElaboratedType wrapped around a DependentTemplateSpecializationType, which duplicated the keyword ("class", "struct", etc.) and nested-name-specifier storage. - Sema::ActOnTemplateIdType now gets a nested-name-specifier, which it places into the returned type-source location information. - Sema::ActOnDependentTag now creates types with source-location information. llvm-svn: 126808
-