You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the following C++ code:
===== t.cpp ===
class A
{
#ifdef SOME_MACRO
// whatever
#endif
};
tokens from preprocessor directives are annotated as 'ClassDecl=A' by clang_annotateTokens. Similarly, clang_getCursor returns cursor of kind ClassDecl.
The same with other blocks like structures, namespaces, enums, functions, etc.
The text was updated successfully, but these errors were encountered:
Extended Description
In the following C++ code:
===== t.cpp ===
class A
{
#ifdef SOME_MACRO
// whatever
#endif
};
tokens from preprocessor directives are annotated as 'ClassDecl=A' by clang_annotateTokens. Similarly, clang_getCursor returns cursor of kind ClassDecl.
The same with other blocks like structures, namespaces, enums, functions, etc.
The text was updated successfully, but these errors were encountered: