Author: mwu
Date: Thu Aug 2 00:28:11 2018
New Revision: 338675
URL: http://llvm.org/viewvc/llvm-project?rev=338675&view=rev
Log:
Test commit access
Modified:
cfe/trunk/include/clang-c/Index.h
Modified: cfe/trunk/include/clang-c/Index.h
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/inc
Author: mwu
Date: Thu Aug 2 20:03:20 2018
New Revision: 338804
URL: http://llvm.org/viewvc/llvm-project?rev=338804&view=rev
Log:
[libclang 1/8] Add support for ObjCObjectType
Summary: This patch adds support to the clang-c API for identifying ObjCObjects
in CXTypes, enumerating type args and pr
Author: mwu
Date: Thu Aug 2 21:02:40 2018
New Revision: 338807
URL: http://llvm.org/viewvc/llvm-project?rev=338807&view=rev
Log:
[libclang 2/8] Add support for ObjCTypeParam
Summary:
This patch adds support to the libclang API for identifying ObjCTypeParams in
CXTypes.
This patch depends on D4
Author: mwu
Date: Thu Aug 2 21:21:25 2018
New Revision: 338808
URL: http://llvm.org/viewvc/llvm-project?rev=338808&view=rev
Log:
[libclang 3/8] Add support for AttributedType
Summary:
This patch adds support to the libclang API for identifying AttributedTypes in
CXTypes and reading the modified
Author: mwu
Date: Thu Aug 2 21:38:04 2018
New Revision: 338809
URL: http://llvm.org/viewvc/llvm-project?rev=338809&view=rev
Log:
[libclang 4/8] Add the clang_Type_getNullability() API
Summary:
This patch adds a clang-c API for querying the nullability of an AttributedType.
The test here also te
Author: mwu
Date: Thu Aug 2 22:03:22 2018
New Revision: 338813
URL: http://llvm.org/viewvc/llvm-project?rev=338813&view=rev
Log:
[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.
Author: mwu
Date: Thu Aug 2 22:20:23 2018
New Revision: 338815
URL: http://llvm.org/viewvc/llvm-project?rev=338815&view=rev
Log:
[libclang 6/8] Add support for reading implicit attributes
Summary:
Having access to implicit attributes is sometimes useful so users of libclang
don't have to duplic
Author: mwu
Date: Thu Aug 2 22:38:29 2018
New Revision: 338816
URL: http://llvm.org/viewvc/llvm-project?rev=338816&view=rev
Log:
[libclang 7/8] Add support for getting property setter and getter names
Summary: This allows libclang to access the actual names of property setters
and getters witho
Author: mwu
Date: Thu Aug 2 22:55:40 2018
New Revision: 338820
URL: http://llvm.org/viewvc/llvm-project?rev=338820&view=rev
Log:
[libclang 8/8] Add support for the flag_enum attribute
Summary:
This adds support to libclang for reading the flag_enum attribute.
This also bumps CINDEX_VERSION_MINO
Author: mwu
Date: Sun Nov 11 18:44:33 2018
New Revision: 346633
URL: http://llvm.org/viewvc/llvm-project?rev=346633&view=rev
Log:
Support Swift in platform availability attribute
Summary: This adds support for Swift platform availability attributes. It's
largely a port of the changes made to htt
michaelwu created this revision.
michaelwu added a subscriber: cfe-commits.
Right now clang_Cursor_getMangling will attempt to mangle any declaration, even
if the declaration isn't mangled (extern "C"). This results in a partially
mangled name which isn't useful for much. This patch makes
clang
michaelwu updated this revision to Diff 36330.
michaelwu added a comment.
Thanks for the review. I switched to shouldMangleDeclName instead of
shouldMangleCXXName, and made it skip the frontend mangling instead of
returning an empty string. I tried making mangleName do that instead, but it
seem
michaelwu created this revision.
michaelwu added a subscriber: cfe-commits.
This patch implements clang_getCursorVisibility which provides access to
NamedDecl::getVisibility. It's been very useful for me when generating bindings.
http://reviews.llvm.org/D13388
Files:
include/clang-c/Index.h
michaelwu marked 2 inline comments as done.
michaelwu added a comment.
http://reviews.llvm.org/D13317
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
michaelwu updated this revision to Diff 36518.
michaelwu added a comment.
This uses clang_isInvalid in PrintMangledName instead of checking for
CXCursor_UnexposedDecl.
http://reviews.llvm.org/D13317
Files:
test/Index/print-mangled-name.cpp
tools/c-index-test/c-index-test.c
tools/libclang
michaelwu updated this revision to Diff 36645.
michaelwu added a comment.
Turns out clang_isUnexposed is what I wanted, rather than clang_isInvalid. I
remember seeing clang_isInvalid work though..
http://reviews.llvm.org/D13317
Files:
test/Index/print-mangled-name.cpp
tools/c-index-test/c-
michaelwu added a comment.
Visibility can be set via command line args without any attributes in the AST,
so I don't think that's sufficient.
http://reviews.llvm.org/D13388
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.o
michaelwu added a comment.
Review ping?
http://reviews.llvm.org/D13388
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
michaelwu added inline comments.
Comment at: test/Index/symbol-visibility.c:8
@@ +7,3 @@
+// CHECK: FunctionDecl=foo1:3:47visibility=Default
+// CHECK: FunctionDecl=foo2:4:49visibility=Protected
+// CHECK: FunctionDecl=foo3:5:46visibility=Hidden
skalinichev wrote:
michaelwu updated this revision to Diff 40100.
michaelwu added a comment.
This removes the test for protected visibility and improves documentation for
clang_getCursorVisibility.
http://reviews.llvm.org/D13388
Files:
include/clang-c/Index.h
test/Index/symbol-visibility.c
tools/c-index-te
michaelwu added a comment.
Anyone mind landing this for me? I don't have commit access.
http://reviews.llvm.org/D13388
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
21 matches
Mail list logo