- Oct 14, 2011
-
-
Eli Friedman authored
llvm-svn: 141912
-
Richard Trieu authored
If the code file is not run through the preproccessor to remove comments, then FileCheck will match the strings within the CHECK commands rendering the test useless. llvm-svn: 141911
-
Michael J. Spencer authored
llvm-svn: 141910
-
Eli Friedman authored
llvm-svn: 141909
-
Greg Clayton authored
Fixed a case where we might end up trying to parse a type in the DWARF parser for a method whose class isn't currently in the process of completing itself. Currently, methods of a class, must be parsed when the class type that contains the method is asked to complete itself through the clang::ExternalASTSource virtual functions. Now we "do the right thing" by checking if the class is being defined, and if so we parse it, else we tell the class to complete itself so everything happens correctly. llvm-svn: 141908
-
Michael J. Spencer authored
llvm-svn: 141907
-
Lang Hames authored
llvm-svn: 141906
-
Eli Friedman authored
llvm-svn: 141905
-
Richard Smith authored
llvm-svn: 141904
-
Eli Friedman authored
llvm-svn: 141903
-
Nico Weber authored
This finds 2 bugs in chromium and 1 in hunspell, with 0 false positives. llvm-svn: 141902
-
Michael J. Spencer authored
llvm-svn: 141901
-
Richard Smith authored
-std=c++0x. Patch by Ahmed Charles! llvm-svn: 141900
-
Sean Callanan authored
Specifically, the expression parser used to use functions attached to SymbolContext to do lookups, but nowadays it searches a ModuleList or Module directly instead. These functions had no remaining clients so I removed them to prevent bit rot. I also removed a stray callback function from ClangExpressionDeclMap. llvm-svn: 141899
-
Jeffrey Yasskin authored
C++11 mode but keep their sources compatible with C++98. This patch implements the -Wc++98-compat-variadic-templates sub-flag and -Wc++98-compat to include it. llvm-svn: 141898
-
Michael J. Spencer authored
llvm-svn: 141897
-
Eli Friedman authored
Enhance the memdep interface so that users can tell the difference between a dependency which cannot be calculated and a path reaching the entry point of the function. This patch introduces isNonFuncLocal, which replaces isUnknown in some cases. Patch by Xiaoyi Guo. llvm-svn: 141896
-
- Oct 13, 2011
-
-
Andrew Trick authored
Speculatively reapply to see if this test case still crashes on linux. I may have fixed it in my last checkin. llvm-svn: 141895
-
Sean Callanan authored
which had previously been commented out while I tested it. It's not fully working yet, but it doesn't break our testsuite and it's an important piece of functionality. Also added some logging to SymbolFileDWARF to help diagnose entities that are found in a symbol file, but do not reside in the expected namespace. llvm-svn: 141894
-
Eric Christopher authored
Start handling debug line and scope information better: Migrate most of the location setting within the larger API in CGDebugInfo and update a lot of callers. Remove the existing file/scope change machinery in UpdateLineDirectiveRegion and replace it with DILexicalBlockFile usage. Finishes off the rest of rdar://10246360 after fixing a few bugs that were exposed in gdb testsuite testing. llvm-svn: 141893
-
Eric Christopher authored
looking at. llvm-svn: 141892
-
Richard Smith authored
llvm-svn: 141891
-
Richard Osborne authored
llvm-svn: 141889
-
Sean Callanan authored
context object. Having it populated and registered within a single FindExternalVisibleDecls call worked fine when there was only one call (i.e., when we were just looking in the global namespace). However, now FindExternalVisibleDecls is called for nested namespaces as well, which means that it is called not once but many times (once per module in which the parent namespace appears). This means that the namespace mapping is built up across many calls to the inferior FindExternalVisibleDecls, so I moved it into a data structure (the search context) that is shared by all calls. I also added some logging to make it easier to see what is happening during a namespace search, and cleaned up some existing logging. llvm-svn: 141888
-
Benjamin Kramer authored
llvm-svn: 141887
-
Michael J. Spencer authored
llvm-svn: 141886
-
Michael J. Spencer authored
This happens in COFF because there is a symbol for the beginning of each section. llvm-svn: 141885
-
Michael J. Spencer authored
llvm-svn: 141884
-
Ted Kremenek authored
Tweak -Wuninitialized's handling of 'int x = x' to report that as the root cause of an uninitialized variable IFF there are other uses of that uninitialized variable. Fixes <rdar://problem/9259237>. llvm-svn: 141881
-
Andrew Trick authored
Self-review easily caught this obvious bug. llvm-svn: 141880
-
Greg Clayton authored
llvm-svn: 141879
-
Douglas Gregor authored
llvm-svn: 141878
-
Douglas Gregor authored
functions, e.g., (&f)(0). Fixes <rdar://problem/9803316>. llvm-svn: 141877
-
Greg Clayton authored
llvm-svn: 141876
-
NAKAMURA Takumi authored
Many distros provide stdc++.dll recently. --enable-embed-stdcxx might confuse people. llvm-svn: 141875
-
Owen Anderson authored
llvm-svn: 141874
-
Andrew Trick authored
llvm-svn: 141873
-
NAKAMURA Takumi authored
llvm-svn: 141872
-
Michael J. Spencer authored
llvm-svn: 141871
-
Andrew Trick authored
This avoids unnecessary expansion of expressions and allows the SCEV expander to work on expression DAGs, not just trees. Fixes PR11090. llvm-svn: 141870
-