- Sep 24, 2010
-
-
Michael J. Spencer authored
llvm-svn: 114725
-
Michael J. Spencer authored
llvm-svn: 114724
-
Evan Cheng authored
llvm-svn: 114723
-
Greg Clayton authored
interface in ClangASTContext. Also added two bool returning functions that indicated if an opaque clang qual type is a CXX class type, and if it is an ObjC class type. Objective C classes now will get their methods added lazily as they are encountered. The reason for this is currently, unlike C++, the DW_TAG_structure_type and owns the ivars, doesn't not also contain the member functions. This means when we parse the objective C class interface we either need to find all functions whose names start with "+[CLASS_NAME" or "-[CLASS_NAME" and add them all to the class, or when we parse each objective C function, we slowly add it to the class interface definition. Since objective C's class doesn't change internal bits according to whether it has certain types of member functions (like C++ does if it has virtual functions, or if it has user ctors/dtors), I currently chose to lazily populate the class when each functions is parsed. Another issue we run into with ObjC method declarations is the "self" and "_cmd" implicit args are not marked as artificial in the DWARF (DW_AT_artifical), so we currently have to look for the parameters by name if we are trying to omit artificial function args if the language of the compile unit is ObjC or ObjC++. llvm-svn: 114722
-
Ted Kremenek authored
Remove this test for now until I figure out how to get it to work with c-index-test in a portable way. llvm-svn: 114721
-
Ted Kremenek authored
llvm-svn: 114720
-
Daniel Dunbar authored
- I believe more modern 'gas' supports a more enhanced set of arithmetic on them, but for now the only thing we can do is emit them as data. llvm-svn: 114719
-
Daniel Dunbar authored
llvm-svn: 114718
-
Daniel Dunbar authored
llvm-svn: 114717
-
Ted Kremenek authored
Since this test depends on default ivar synthesis, specify the target triple. This hopefully unbreaks the buildbot on some archs. llvm-svn: 114716
-
Ted Kremenek authored
llvm-svn: 114715
-
Ted Kremenek authored
Default synthesized ivars don't really have a location in the source. Using the location of the @implementation is just confusing for clients that want to use SourceLocations for syntactic references. Fixes: <rdar://problem/8470540> llvm-svn: 114714
-
Nick Lewycky authored
llvm-svn: 114713
-
Nick Lewycky authored
llvm-svn: 114712
-
Nick Lewycky authored
llvm-svn: 114711
-
Owen Anderson authored
reflection, this isn't going to achieve the purpose I intended it for. Back to the drawing board! llvm-svn: 114710
-
Bob Wilson authored
llvm-svn: 114709
-
Johnny Chen authored
testing various combinations of displaying variales of basic types. The generic_type_tester() works by first capturing the golden output produced by the printf stmts of ./a.out, creating a list of (var, value) pairs, and then running the a.out to a stop point, and comparing the 'frame variable var' output against the list of (var, value) pairs. Modified int_type() and added long_type() to use generic_type_tester(). Also modified TestBase.expect() such that substring matching also return ok if the substring starts at the 0-th position. llvm-svn: 114708
-
Jim Grosbach authored
llvm-svn: 114707
-
Jim Grosbach authored
llvm-svn: 114706
-
Jim Grosbach authored
llvm-svn: 114705
-
Douglas Gregor authored
provided when the optimization is disabled. In particular, split the completion context CCC_Other into two contexts: CCC_Other, which means that it's an undisclosed context for which any other results are unwelcome, and CCC_Recovery, which is used in recovery cases. Since we're now using the completion context within the completion results builder, make sure that it's always set to something. Fixes <rdar://problem/8470644>. llvm-svn: 114704
-
Owen Anderson authored
llvm-svn: 114703
-
Owen Anderson authored
Not intended functionality change, as nothing uses this yet. llvm-svn: 114702
-
Chris Lattner authored
llvm-svn: 114701
-
- Sep 23, 2010
-
-
Nick Lewycky authored
llvm-svn: 114697
-
Bob Wilson authored
llvm-svn: 114696
-
Ted Kremenek authored
When warning about comparing an unsigned int to being >= 0, don't issue a warning if the zero value was an enum or was expanded from a macro. Fixes: <rdar://problem/8414119> llvm-svn: 114695
-
Ted Kremenek authored
Add test case for c-index-test showing that @property declarations added in class extensions don't get reported in the @interface. llvm-svn: 114694
-
Ted Kremenek authored
as the lexical DeclContext for the @property declaration that gets auto-created for the @interface. Fixes: <rdar://problem/8467189> llvm-svn: 114693
-
Andrew Trick authored
configure expects LLVM Test Suite to be in projects/test-suite. Made the "getting started" and "testing infrastructure" docs internally consistent. Avoid confusion between llvm-test and llvm/test. llvm-svn: 114691
-
Rafael Espindola authored
(2 == STB_WEAK | STB_GLOBAL). llvm-svn: 114690
-
Jim Grosbach authored
llvm-svn: 114689
-
Evan Cheng authored
Fix r114632. Return if the only terminator is an unconditional branch after the redundant ones are deleted. llvm-svn: 114688
-
Jim Grosbach authored
constant. Hopefully the non-Darwin bots will like it... llvm-svn: 114687
-
Jim Grosbach authored
llvm-svn: 114686
-
Howard Hinnant authored
llvm-svn: 114685
-
Benjamin Kramer authored
llvm-svn: 114684
-
Douglas Gregor authored
llvm-svn: 114682
-
Evan Cheng authored
Revert 114634 for now since buildbot claim it broke Clang self-hosting. I doubt it but it's possible it's exposing another bug somewhere. llvm-svn: 114681
-