]> granicus.if.org Git - clang/commit
[libclang 5/8] Add support for ObjC attributes without args
authorMichael Wu <mwu.code@gmail.com>
Fri, 3 Aug 2018 05:03:22 +0000 (05:03 +0000)
committerMichael Wu <mwu.code@gmail.com>
Fri, 3 Aug 2018 05:03:22 +0000 (05:03 +0000)
commit4042ae53b138dddb400aa62c3668c29075ca9e92
treee12f5e44a196dc25f8389f20fe54b261e202f67c
parentf44b5cff857524a9c91e37b82b4fcc400b85ccf2
[libclang 5/8] Add support for ObjC attributes without args

Summary:
This adds support to libclang for identifying ObjC related attributes that don't take arguments.

All attributes but NSObject and NSConsumed are tested.

Reviewers: yvvan, jbcoe

Reviewed By: yvvan

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D49127

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@338813 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang-c/Index.h
test/Index/index-attrs.m
tools/libclang/CIndex.cpp
tools/libclang/CXCursor.cpp