- Sep 28, 2011
-
-
NAKAMURA Takumi authored
llvm-svn: 140694
-
Ted Kremenek authored
llvm-svn: 140681
-
- Sep 26, 2011
-
-
Argyrios Kyrtzidis authored
a "loaded" location of the precompiled preamble. Instead, handle specially locations of preprocessed entities: -When looking up for preprocessed entities, map main file locations inside the preamble range to a preamble loaded location. -When getting the source range of a preprocessing cursor, map preamble loaded locations back to main file locations. Fixes rdar://10175093 & http://llvm.org/PR10999 llvm-svn: 140519
-
- Sep 12, 2011
-
-
Argyrios Kyrtzidis authored
which when set it determines the trial number after which the remapping of files should take effect. llvm-svn: 139511
-
- Aug 29, 2011
-
-
Matt Beaumont-Gay authored
llvm-svn: 138736
-
- Aug 04, 2011
-
-
Douglas Gregor authored
cursor, from Connor Wakamo! Addresses <rdar://problem/9087798>. llvm-svn: 136911
-
- Jul 26, 2011
-
-
Douglas Gregor authored
provides the partial Objective-C selector used in a code completion. From Connor Wakamo! llvm-svn: 136084
-
- Jul 25, 2011
-
-
Douglas Gregor authored
a cursor reference, from Erik Verbruggen! llvm-svn: 135920
-
- Jul 21, 2011
-
-
Douglas Gregor authored
Connor Wakamo! llvm-svn: 135651
-
- Jul 14, 2011
-
-
Chandler Carruth authored
This is switches all the interfaces points (and most of the commenst / local variables I saw on my way through) regarding the NestedMacroInstantiations bit. The libclang enums corresponding to this state were renamed, but a legacy enum was added with the old name, and the same value to keep existing clients working. I've added a documentation blurb for it, but let me know if there is a canonical way to document legacy elemenst of the libclang interface. No functionality changed here, even in tests. llvm-svn: 135141
-
- Jul 10, 2011
-
-
Argyrios Kyrtzidis authored
llvm-svn: 134849
-
- Jul 07, 2011
-
-
Douglas Gregor authored
clang_codeCompleteGetContexts(), that provides the client with information about the context in which code completion has occurred and what kinds of entities make sense as completions at that point. Patch by Connor Wakamo! llvm-svn: 134615
-
Francois Pichet authored
llvm-svn: 134550
-
- Jul 06, 2011
-
-
Douglas Gregor authored
between different classes of errors. Addresses most of <rdar://problem/9660328>. llvm-svn: 134495
-
- Jun 17, 2011
-
-
Chandler Carruth authored
layering problem has been addressed. llvm-svn: 133217
-
- Jun 16, 2011
-
-
John McCall authored
llvm-svn: 133147
-
- May 13, 2011
-
-
Douglas Gregor authored
query functions, from Erik Verbruggen! llvm-svn: 131295
-
- May 06, 2011
-
-
Douglas Gregor authored
CXTranslationUnit_NestedMacroInstantiations, which indicates whether we want to see "nested" macro instantiations (e.g., those that occur inside other macro instantiations) within the detailed preprocessing record. Many clients (e.g., those that only care about visible tokens) don't care about this information, and in code that uses preprocessor metaprogramming, this information can have a very high cost. Addresses <rdar://problem/9389320>. llvm-svn: 130990
-
- May 04, 2011
-
-
Douglas Gregor authored
which determines whether a particular file is actually a header that is intended to be guarded from multiple inclusions within the same translation unit. llvm-svn: 130808
-
- Apr 20, 2011
-
-
Ted Kremenek authored
llvm-svn: 129857
-
- Apr 19, 2011
-
-
Ted Kremenek authored
llvm-svn: 129733
-
Francois Pichet authored
llvm-svn: 129732
-
Ted Kremenek authored
Add libclang API to query how much memory is used by a CXTranslationUnit. This is a WIP. Currently we report the amount used for expressions, types, identifiers, and selectors. llvm-svn: 129730
-
- Mar 09, 2011
-
-
NAKAMURA Takumi authored
Cygwin's ctype.h says; /* These macros are intentionally written in a manner that will trigger a gcc -Wall warning if the user mistakenly passes a 'char' instead of an int containing an 'unsigned char'. (snip) */ llvm-svn: 127308
-
- Feb 28, 2011
-
-
NAKAMURA Takumi authored
llvm-svn: 126634
-
- Feb 20, 2011
-
-
Peter Collingbourne authored
llvm-svn: 126060
-
- Feb 19, 2011
-
-
Rafael Espindola authored
llvm-svn: 126050
-
- Feb 18, 2011
-
-
Peter Collingbourne authored
This removes the final dependency edge from any lib outside of CodeGen to core. As a result we can, and do, trim the dependency on core from libclang, PrintFunctionNames, the unit tests and c-index-test. While at it, review and trim other unneeded dependencies. llvm-svn: 125820
-
- Feb 10, 2011
-
-
NAKAMURA Takumi authored
llvm-svn: 125275
-
- Feb 04, 2011
-
-
Douglas Gregor authored
or source locations that refer into a macro instantiation, delete all of the Fix-Its on that diagnostic. llvm-svn: 124833
-
- Jan 31, 2011
-
-
Douglas Gregor authored
client. Fixes a libclang leak. llvm-svn: 124614
-
- Jan 27, 2011
-
-
Douglas Gregor authored
TargetInfo::CreateTargetInfo() mangles the target options in a way that is not idempotent. Fixes <rdar://problem/8807535>. llvm-svn: 124382
-
Douglas Gregor authored
qualifiers on a CXType. Patch from Stefan Seefeld, test by me. llvm-svn: 124377
-
- Nov 30, 2010
-
-
Douglas Gregor authored
llvm-svn: 120395
-
Douglas Gregor authored
clang_getCursor() via -cursor-at=??? and CINDEXTEST_EDITING is set in the environment. This mirrors how we test code completion and source-loading in the presence of this environment variable. llvm-svn: 120392
-
- Nov 19, 2010
-
-
Douglas Gregor authored
option name, category ID, and category name corresponding to a diagnostic. llvm-svn: 119802
-
- Nov 16, 2010
-
-
Ted Kremenek authored
but to wrap both an ASTUnit and a "string pool" that will be used for fast USR generation. This requires a bunch of mechanical changes, as there was a ton of code that assumed that CXTranslationUnit and ASTUnit* were the same. Along with this change, introduce CXStringBuf, which provides an llvm::SmallVector<char> backing for repeatedly generating CXStrings without a huge amount of malloc() traffic. This requires making some changes to the representation of CXString by renaming a few fields (but keeping the size of the object the same). llvm-svn: 119337
-
Ted Kremenek authored
their own .cpp file and make the interpretation of its flags private. llvm-svn: 119319
-
Douglas Gregor authored
caching global code-completion results. In particular, don't perform either operation the first time we parse, but do both after the first reparse. llvm-svn: 119285
-
- Nov 09, 2010
-
-
Douglas Gregor authored
location where we're spelling a token even within a macro. clang_getInstantiationLocation() tells where we instantiated the macro. I'm still not thrilled with the CXSourceLocation/CXSourceRange APIs, since they gloss over macro-instantiation information. Take 2: this time, adjusted tests appropriately and used a "simple" approach to the spelling location. llvm-svn: 118495
-