Skip to content

Instantly share code, notes, and snippets.

@brycelelbach
Created September 16, 2010 05:03
Show Gist options
  • Save brycelelbach/581984 to your computer and use it in GitHub Desktop.
Save brycelelbach/581984 to your computer and use it in GitHub Desktop.
wash@Pegasus:~/sandbox$ ls
README.txt test.cpp
wash@Pegasus:~/sandbox$ cat test.cpp
struct A { };
template<typename T> struct B { };
int main (void) {
A a;
B<A> b;
}
wash@Pegasus:~/sandbox$ clang -cc1 -load ~/ariel/build/default/Profiler/libarielProfiler.so -plugin ariel-profiler test.cpp
Translation Unit 0 has 48 Type objects:
: void identifier
: _Bool identifier
: char identifier
: signed char identifier
: short identifier
: int identifier
: long identifier
: long long identifier
: unsigned char identifier
: unsigned short identifier
: unsigned int identifier
: unsigned long identifier
: unsigned long long identifier
: float identifier
: double identifier
: long double identifier
: __int128_t identifier
: __uint128_t identifier
: wchar_t identifier
: char16_t identifier
: char32_t identifier
: <overloaded function type> identifier
: <dependent type> identifier
: auto identifier
: _Complex float identifier
: _Complex double identifier
: _Complex long double identifier
: id identifier
: Class identifier
: SEL identifier
: void *identifier
: nullptr_t identifier
: struct __va_list_tag identifier
: struct struct __va_list_tag identifier
: __va_list_tag identifier
: struct __va_list_tag identifier[1]
: __va_list_tag identifier[1]
: struct A identifier
: type-parameter-0-0 identifier
: T identifier
: B<type-parameter-0-0> identifier
: B<T> identifier
: B<T> identifier
: int (identifier)(void)
: char *identifier
: char **identifier
: struct B<struct A> identifier
: B<struct A> identifier
wash@Pegasus:~/sandbox$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment