- Mar 20, 2010
-
-
Daniel Dunbar authored
llvm-svn: 99038
-
John McCall authored
llvm-svn: 99037
-
Eric Christopher authored
llvm-svn: 99026
-
Eric Christopher authored
llvm-svn: 99025
-
Ted Kremenek authored
is not evaluated because the receiver is nil. llvm-svn: 99024
-
Daniel Dunbar authored
<rdar://problem/7641151> clang must eat spaces after -l llvm-svn: 99023
-
Daniel Dunbar authored
Also, simplify/fix SeparateArg::render with forced join. llvm-svn: 99022
-
Daniel Dunbar authored
llvm-svn: 99021
-
Eric Christopher authored
one from emmintrin.h. llvm-svn: 99020
-
Eric Christopher authored
llvm-svn: 99019
-
Daniel Dunbar authored
platform, e.g. ppc. llvm-svn: 99016
-
Douglas Gregor authored
preprocessed entities by grouping preprocessed entities by file ID. This drastically improves performance of repeated clang_getCursor() calls local tests, although it is a bit ugly. llvm-svn: 99015
-
John McCall authored
shadowing it in the GlobalDeclMap. Eliminates the string-uniquing requirement for mangled names, which should help C++ codegen times a little. Forces us to do string lookups instead of pointer lookups, which might hurt codegen times a little across the board. We'll see how it plays out. Removing the string-uniquing requirement implicitly fixes any bugs like PR6635 which arose from the fact that we had multiple uniquing tables for different kinds of identifiers. llvm-svn: 99012
-
- Mar 19, 2010
-
-
Douglas Gregor authored
ranges as part of the ASTContext. This code is not and was never used, but contributes ~250k to the size of the Cocoa.h precompiled header. llvm-svn: 99007
-
Douglas Gregor authored
instantiations when we have the corresponding macro definition and by removing macro definition information from our table when the macro is undefined. llvm-svn: 99004
-
Douglas Gregor authored
record (which includes all macro instantiations and definitions). As with all lay deserialization, this introduces a new external source (here, an external preprocessing record source) that loads all of the preprocessed entities prior to iterating over the entities. The preprocessing record is an optional part of the precompiled header that is disabled by default (enabled with -detailed-preprocessing-record). When the preprocessor given to the PCH writer has a preprocessing record, that record is written into the PCH file. When the PCH reader is given a PCH file that contains a preprocessing record, it will be lazily loaded (which, effectively, implicitly adds -detailed-preprocessing-record). This is the first case where we have sections of the precompiled header that are added/removed based on a compilation flag, which is unfortunate. However, this data consumes ~550k in the PCH file for Cocoa.h (out of ~9.9MB), and there is a non-trivial cost to gathering this detailed preprocessing information, so it's too expensive to turn on by default. In the future, we should investigate a better encoding of this information. llvm-svn: 99002
-
Fariborz Jahanian authored
(related to radar 7538989). llvm-svn: 98993
-
Ted Kremenek authored
llvm-svn: 98982
-
Ted Kremenek authored
llvm-svn: 98981
-
-
Daniel Dunbar authored
actual action. - This is easier to use, and more reliable for timing the thing this was actually meant to be useful for. llvm-svn: 98978
-
John McCall authored
mostly during conditional expressions. llvm-svn: 98975
-
Fariborz Jahanian authored
object pointer types. Fixes radar 7634850. llvm-svn: 98970
-
Douglas Gregor authored
eliminating the extra PopulatePreprocessingRecord object. This will become useful once we start writing the preprocessing record to precompiled headers. llvm-svn: 98966
-
Douglas Gregor authored
tie its creation to a CC1 flag -detailed-preprocessing-record. llvm-svn: 98963
-
Douglas Gregor authored
information, to address recent gdb failures. llvm-svn: 98959
-
John McCall authored
Fixes PR6643. Patch by Mike M! llvm-svn: 98946
-
John McCall authored
entity (if applicable) which was actually looked up. If a candidate was found via a using declaration, this is the UsingShadowDecl; otherwise, if the candidate is template specialization, this is the template; otherwise, this is the function. The point of this exercise is that "found declarations" are the entities we do access control for, not their underlying declarations. Broadly speaking, this patch fixes access control for using declarations. There is a *lot* of redundant code calling into the overload-resolution APIs; we really ought to clean that up. llvm-svn: 98945
-
Douglas Gregor authored
deserialization of precompiled headers, where the deserialization of the source location entry for a buffer (e.g., macro instantiation scratch space) would overwrite a one-element FileID cache in the source manager. When tickled at the wrong time, we would return the wrong decomposed source location and eventually cause c-index-test to crash. Found by dumb luck. It's amazing this hasn't shown up before. llvm-svn: 98940
-
Douglas Gregor authored
definitions) as part of the translation unit, so that normal visitation, token-annotation, and cursor-at retrieval all see preprocessing elements. llvm-svn: 98935
-
Bob Wilson authored
--- Reverse-merging r98907 into '.': D test/Index/c-index-getCursor-pp.c U tools/CIndex/CIndex.cpp llvm-svn: 98929
-
Douglas Gregor authored
definitions) as part of the translation unit, so that normal visitation, token-annotation, and cursor-at retrieval all see preprocessing elements. llvm-svn: 98907
-
John McCall authored
access to the (elevated) access of the accessed declaration, if applicable, rather than plunking that access onto the end after we've calculated the inheritance access. Also, being a friend of a derived class gives you public access to its members (subject to later modification by further inheritance); it does not simply ignore a single location of restricted inheritance. Also, when computing the best unprivileged path to a subobject, preserve the information that the worst path might be AS_none (forbidden) rather than a minimum of AS_private. llvm-svn: 98899
-
Douglas Gregor authored
rather than from the -main-file-name flag, since the source manager has proper path information. Fixes <rdar://problem/7769538>. llvm-svn: 98898
-
- Mar 18, 2010
-
-
Douglas Gregor authored
llvm-svn: 98878
-
Douglas Gregor authored
llvm-svn: 98875
-
Ted Kremenek authored
code when we are printing the name of an Objective-C method whose class has not been declared. Fixes <rdar://problem/7495713>. llvm-svn: 98874
-
Ted Kremenek authored
llvm-svn: 98873
-
Fariborz Jahanian authored
a property which is not lvalue. llvm-svn: 98848
-
Douglas Gregor authored
preprocessing record. Use that link with clang_getCursorReferenced() and clang_getCursorDefinition() to match instantiations of a macro to the definition of the macro. llvm-svn: 98842
-