Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
e542f7723a929d42bd9e4dfa526b4ede915b91a7
/
tools
/
CIndex
/
CIndexUSRs.cpp
e542f77
Fix USRs for 'extern' variables declaration in functions/method bodies.
by Ted Kremenek
· 15 years ago
900fc63
Add raw_ostream operators to NamedDecl for convenience. Switch over all users of getNameAsString on a stream.
by Benjamin Kramer
· 15 years ago
1af0a2a
Remove unneeded assertion and don't return a null CXString.
by Ted Kremenek
· 15 years ago
e74ef12
Rework USR generation for symbols with no linkage. Many of the USRs are now shortened,
by Ted Kremenek
· 15 years ago
6f15395
Better support USRs for anonymous enums, structs, by including the location where
by Ted Kremenek
· 15 years ago
1865cfe
Do not generate USRs for declarations with 'no linkage' except for enums, structs, typedefs.
by Ted Kremenek
· 15 years ago
b846deb
Prune includes.
by Benjamin Kramer
· 15 years ago
fa8231d
Add initial USR support for macro definitions.
by Ted Kremenek
· 15 years ago
c3ef91d
Augment clang_getCursorUSR() to not always expect that clang_getCursorDecl() does the right
by Ted Kremenek
· 15 years ago
cfb51b6
CIndex: move extractUSRSuffix out of extern "C" and simplify it.
by Benjamin Kramer
· 15 years ago
0c0fb41
Require that all Clang-based USRs start with the prefix 'c:' for the "USR space".
by Ted Kremenek
· 15 years ago
ebfa339
Make the CIndex API more resilient to being used on invalid code.
by Ted Kremenek
· 15 years ago
66ccaec
Rename clang_constructUSR_ObjCategory to clang_constructUSR_ObjCCategory.
by Ted Kremenek
· 15 years ago
896b70f
Implement several CIndex functions for constructing USRs from C-strings instead of AST elements.
by Ted Kremenek
· 15 years ago
ee4db4f
Move createCXString() functions out of CIndexer and into the clang::cxstring namespace.
by Ted Kremenek
· 15 years ago
a9f696d
CIndex/USRs: Disable a bogus assert, we don't want CIndex to crash liberally. I
by Daniel Dunbar
· 16 years ago
a030b7c
Eliminate CIndex's dependency on the Clang Index library, since we
by Douglas Gregor
· 16 years ago
04d1dd4
Kill CXEntity and CXDecl. The first has never been used, while the
by Douglas Gregor
· 16 years ago
e381c99
Tweak USR output for ObjC categories.
by Ted Kremenek
· 16 years ago
b82b3be
Refactor USR generation for TagDecls into a common method.
by Ted Kremenek
· 16 years ago
3adca6d
Tweak USR generation to handle anonymous bitfields.
by Ted Kremenek
· 16 years ago
cf84aa4
Replace clang_getDeclUSR() with clang_getCursorUSR(). Also remove printing 'contexts' from c-index-test output; it wasn't helpful and was extremely brittle.
by Ted Kremenek
· 16 years ago
c5b48b3
Refactor USR logic for EnumDecls and RecordDecls so that both handle 'anonymous' declarations in the same way.
by Ted Kremenek
· 16 years ago
6a659fb
USR generation: look at the typedef of an anonymous struct (if any) when trying to generate a USR.
by Ted Kremenek
· 16 years ago
5467b20
Add USR generation for enums.
by Ted Kremenek
· 16 years ago
2fee4e6
Further tweak USR generation by shorting names and distinguish between namespaces and functions.
by Ted Kremenek
· 16 years ago
c50277f
Rename clang_getUSR() -> clang_getDeclUSR(). For now we take a CXDecl instead of a CXEntity.
by Ted Kremenek
· 16 years ago
e9cde11
Further tweaking of USR generation. WIP.
by Ted Kremenek
· 16 years ago
9895c6a
Remove trailing semicolons and silence MSVC warning about C linkage.
by Benjamin Kramer
· 16 years ago
8776382
Add a boilerplate implementation for clang_getUSR(). WIP.
by Ted Kremenek
· 16 years ago
1fc00e6
Change clang_getUSR() to return a CXString instead of a 'const char *'.
by Ted Kremenek
· 16 years ago
3172383
CIndex:
by Ted Kremenek
· 16 years ago
1b6869a
Split (mostly nonexistent) USR code out from the main CIndex logic.
by Ted Kremenek
· 16 years ago