- Nov 15, 2012
-
-
Daniel Jasper authored
The matchers rely on the complete AST being traversed as shown by the new test cases. llvm-svn: 168022
-
Andrew Trick authored
Jakub Staszak spotted this in review. I don't notice these things until I manually rerun benchmarks. But reducing unit tests is a very high priority. llvm-svn: 168021
-
Jordan Rose authored
llvm-svn: 168020
-
Jordan Rose authored
We do this by using the "most recent" good location: if a synthesized function 'A' calls another function 'B', the path notes for the call to 'B' will be placed at the same location as the path note for calling 'A'. Similarly, the call to 'A' will have a note saying "Entered call from...", and now we just don't emit that (since the user doesn't have a body to look at anyway). Previously, we were doing this for the "Calling..." notes, but not for the "Entered call from..." or "Returning to caller". This caused a crash when the path entered and then exiting a call within a synthesized body. <rdar://problem/12657843> llvm-svn: 168019
-
Sean Callanan authored
expressions that refer to ivars will not work because Clang emits IR that refers to them to get the ivar offsets. However, it is possible to search the runtime for these values. I have added support for reading the relevant tables to the Objective-C runtime, and extended ClangExpressionDeclMap to query that information if and only if it doesn't find the symbols in the binary. Also added a testcase. <rdar://problem/12628122> llvm-svn: 168018
-
Argyrios Kyrtzidis authored
not ReadExpr(). Also add a test case making sure the thread safety attributes work as expected when they come from a PCH. Fixes rdar://12584141 & http://llvm.org/PR13982 llvm-svn: 168017
-
Eli Friedman authored
current list of powerpc-darwin8 failures. llvm-svn: 168016
-
Tanya Lattner authored
llvm-svn: 168015
-
Eric Christopher authored
llvm-svn: 168014
-
NAKAMURA Takumi authored
llvm-svn: 168013
-
Richard Smith authored
type-name is looked up in the context of the complete postfix-expression. Don't forget to pass the scope into this lookup when the type-name is a template-id; it might name an alias template which can't be found within the class itself. Bug spotted by Johannes Schaub on #llvm. llvm-svn: 168011
-
Eli Friedman authored
BinaryOperator::Opcode. This is bad form, and the behavior of the static_cast in this case is unspecified according to the standard. Fixes a warning that showed up from r167992 on self-host. llvm-svn: 168010
-
Jakub Staszak authored
llvm-svn: 168009
-
Owen Anderson authored
Add doInitialization and doFinalization methods to ModulePass's, to allow them to be re-initialized and reused on multiple Module's. Patch by Pedro Artigas. llvm-svn: 168008
-
Fariborz Jahanian authored
the default. // rdar://12109031 llvm-svn: 168007
-
Jakub Staszak authored
llvm-svn: 168006
-
Eli Friedman authored
PR14342. llvm-svn: 168005
-
Richard Smith authored
working with preprocessed testcases. This causes source locations in diagnostics to point at the spelling location instead of the presumed location, while still keeping the semantic effects of the line directives (entering and leaving system-header mode, primarily). llvm-svn: 168004
-
Argyrios Kyrtzidis authored
llvm-svn: 168003
-
Argyrios Kyrtzidis authored
local or loaded. llvm-svn: 168002
-
NAKAMURA Takumi authored
llvm-svn: 168001
-
rdar://problem/12408181Enrico Granata authored
<rdar://problem/12408181> Test case to make sure this area of ObjC support does not regress in the future llvm-svn: 168000
-
Bill Schmidt authored
PPC64 target. The five tests modified herein test code generation that is sensitive to the code model selected. So I've added -code-model=small to the RUN commands for each. Since small code model is the default, this has no effect for now; but this prepares us for eventually changing the default to medium code model for PPC64. Test changes verified with small and medium code model as default on powerpc64-unknown-linux-gnu. All tests continue to pass. llvm-svn: 167999
-
Sean Silva authored
llvm-svn: 167998
-
Fariborz Jahanian authored
generate expanded signature encoding to include types as we already do this for protocol method lists. // rdar://12109031 llvm-svn: 167997
-
Sean Silva authored
Some small related fixups to TestingGuide too. llvm-svn: 167996
-
Jordan Rose authored
llvm-svn: 167995
-
Jordan Rose authored
This is also a false-positive test case for <rdar://problem/12415065>. <rdar://problem/12687586> llvm-svn: 167994
-
- Nov 14, 2012
-
-
Richard Trieu authored
type conversion between integers. This allows the warning to be more accurate. Also, turned the warning off in an analyzer test. The relavent test cases are covered by the tests in Sema. llvm-svn: 167992
-
Jakub Staszak authored
llvm-svn: 167991
-
Douglas Gregor authored
<rdar://problem/12676166>, and tested on the LLDB side of the world. llvm-svn: 167990
-
Jakub Staszak authored
llvm-svn: 167989
-
NAKAMURA Takumi authored
llvm-svn: 167988
-
Eric Christopher authored
llvm-svn: 167987
-
Eric Christopher authored
llvm-svn: 167986
-
Eli Friedman authored
type as written from the ParmVarDecl; it's unclear whether the standard (C99 6.9.1p10) requires this, but we're following the precedent set by gcc, and hopefully nobody will ever ask about this again. PR9559 / <rdar://problem/12621983>. llvm-svn: 167985
-
Eric Christopher authored
Approved by Chris Lattner. llvm-svn: 167984
-
Eric Christopher authored
Approved by Chris Lattner. llvm-svn: 167983
-
NAKAMURA Takumi authored
ParseTemplate.cpp: Prune obsolete descriptions in ParseSingleDeclarationAfterTemplate(), for now. [-Wdocumentation] /// \param TemplateParams if non-NULL, the template parameter lists /// that preceded this declaration. In this case, the declaration is a /// template declaration, out-of-line definition of a template, or an /// explicit template specialization. When NULL, the declaration is an /// explicit template instantiation. /// /// \param TemplateLoc when TemplateParams is NULL, the location of /// the 'template' keyword that indicates that we have an explicit /// template instantiation. llvm-svn: 167982
-
Anna Zaks authored
llvm-svn: 167981
-