| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I33609969cd0d7aa55eaa83fb2c65f5faa6d55fa0
|
|
|
|
| |
Change-Id: I5819f9df3212ffcfa8f34c11d3cea29f1fd04878
|
|
|
|
|
|
| |
More cleanups to follow...
Change-Id: Ib8348255273771c1e9ff07e79bd7fbc8f2795a5b
|
|
|
|
| |
Change-Id: Ibb9db8ffe20513ca1ec56403c632e10e82a4fe86
|
|
|
|
|
| |
It applies to more than just Primitives and should not have been in there.
Change-Id: If2b6a9d2a87a05176a74bcf7212f65cf1cdf67fe
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also, enable new data types to be defined, out of order.
More CLs are coming to continue refactoring the code and removing
duplication.
modified: Android.mk
deleted: RSSpec.mk
modified: slang_rs_export_element.cpp
modified: slang_rs_export_type.cpp
modified: slang_rs_export_type.h
modified: slang_rs_metadata_spec_encoder.cpp
modified: slang_rs_object_ref_count.cpp
modified: slang_rs_object_ref_count.h
deleted: slang_rs_spec_table.cpp
modified: slang_rs_type_spec.h
Change-Id: I3eb3e4357bbe9af26011df714795de8e495fec68
|
|
|
|
|
|
|
| |
Prior versions would just crash when attempting to reflect an enum type.
This patch maps enums to integers for reflection in Java.
Change-Id: I5b278d670564ceb606a6b96804f76a798bedc89c
|
|
|
| |
This reverts commit f5abb503e67587ad89bcec99ed925d4a75448dcd
|
|
|
|
|
|
|
|
|
| |
BUG=6009244
This is only an error in pre-JB builds that can't support proper ref-counting
within a FieldPacker.
Change-Id: Ib96b5ec2befa48ec44890391e518ad557e9a9117
|
|
|
|
|
|
| |
BUG=5972398
Change-Id: I76fdb98fa60bd70468d088f9034acf00e443d6c8
|
|
|
|
| |
Change-Id: I376a8a24c238c4e27d37c4f846b93e2f6e38d79c
|
|
|
|
|
|
|
| |
This change also refactors variable validation in general for RS.
BUG=4283858
Change-Id: I4527986a07c9cf2babdc5b855cdb1f00e3535d5b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- API for name mangling. (Changing from non-public APIs to the
public one)
- API changes for clang::Diagnostic::getNumErrors ->
clang::Diagnostic::hasErrorOccurred
- API changes for clang::CharUnits and Quantity type.
- API changes libLLVMSystem -> libLLVMSupport.
- Change clang::Token::eom -> clang::Token::eod.
- Remove SourceRange parameter for DeclRefExpr::Create and
MemberExpr::Create.
- Add const qualifier for several unsafe type cast.
|
|
|
|
|
| |
Bug: 3430674
Change-Id: I3400238652449cde84275cc2a770f405332d9544
|
|
|
|
|
| |
Bug: 3171195
Change-Id: I7deab4ab9c7f8650bce7c597fae2a0dc013f6f71
|
|
|
|
|
|
|
|
| |
This change also adds two new tests for anonymous structures (both with and
without an associated typedef). I have also updated test.py to support a more
verbose output for dumping the actual test commands that are executed.
Change-Id: Ic1edc8d4e98c2017611430eb581c335146ccc927
|
|
|
|
| |
Change-Id: I26e043849bce2a4b41ae132fbe0c882f4a6f112f
|
|
|
|
|
|
|
|
|
|
|
| |
rs-spec-gen (slang_rs_spec_table.cpp) will help llvm-rs-cc to share
the RS spec it used across the other projects. This will makes code
cleaner and therefore easier to add new spec/synchronize the spec
between other project (e.g., libbcc and libRS).
This CL is the first part. It eliminated the needs of
slang_rs_export_element_support.inc and
slang_rs_export_type_support.inc.
|
|
|
|
| |
Release libslang/llvm-rs-cc/llvm-rs-link under Apache 2.0 license.
|
|
|
|
| |
constant-sized array variable.
|
|
|
|
| |
to support rs_matrix{2x2,3x3,4x4} explicitly.
|
|
|
|
| |
changed. This also makes cpplint happy.
|
|
|
|
|
|
|
|
| |
DataTypeRSMatrix4x4 in RSExportPrimitiveType::DataType.
2. Refine the RSExportPrimitiveType::DataKind.
Change-Id: Ida0849e68b00571e0f055089ccc5a46d26760390
|
|
|
|
|
|
|
|
|
|
|
| |
1. Fix AllowRSPrefix bug
2. Remove member mRS*Pragma in class RSContext
3. No longer only support 2x2, 3x3, 4x4 arrays
4. Fix Export All code for victorhsieh
5. Improve readability and maintainability
6. size_t -> int in calculating padding
Change-Id: I772aebd1440af66a89e2d2e688b193e500f38d69
|
|
|
|
| |
Change-Id: Id3677e818693d6f95445d67116db3d6766d1fbd6
|
|
Change-Id: If74da8e54d45511c8c9bb236bcfeec508f4f2439
|