Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visit fields 201501 #1

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open

Visit fields 201501 #1

wants to merge 18 commits into from

Conversation

trolldbois
Copy link
Owner

  • libclang: Add three functions useful for dealing with anonymous fields.
    +clang_Cursor_getOffsetOfField
    +clang_Cursor_isAnonymous
    +clang_Type_visitFields
    Fixed: reuse CXVisitorResult instead of introducing a new enum
  • Python; Add corresponding methods for dealing with anonymous fields.
  • TU in print-type
  • adds [nbFields] in c-index-test for records
  • for anonymous record, shows offset of field in anonymous and parent
    record. ( clang_Type_getOffsetOf/clang_Cursor_getOffsetOfField)

http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20140217/099453.html

trolldbois pushed a commit that referenced this pull request Feb 12, 2015
C++ is hard, attempt #1 of n.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@227768 91177308-0d34-0410-b5e6-96231b3b80d8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant