diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-02-17 02:43:41 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-02-17 02:43:41 +0000 |
commit | a88aacae8c7f5c569b719f20e1a4e8fe4112532a (patch) | |
tree | 34058fb1a9de5911041aa9358af0056ec19e118a | |
parent | 9e9ebc98df1fa4d6c43ce55805cd7c42615a72a4 (diff) | |
parent | 114ed567495a8a7775bb996df3ee22ff45c2db38 (diff) | |
download | clang-t_frc_doc_330443000.tar.gz |
Snap for 8192738 from 114ed567495a8a7775bb996df3ee22ff45c2db38 to tm-frc-documentsui-releaset_frc_doc_330543000t_frc_doc_330443060t_frc_doc_330443000android13-frc-documentsui-release
Change-Id: I052a98eb68d1bad82dde025932b7ce1810951c15
-rw-r--r-- | Android.bp | 22 | ||||
-rw-r--r-- | include/clang/Basic/IdentifierTable.h | 4 | ||||
-rw-r--r-- | lib/Android.bp | 6 |
3 files changed, 21 insertions, 11 deletions
diff --git a/Android.bp b/Android.bp index e3d8c85b33..8e8fbe9726 100644 --- a/Android.bp +++ b/Android.bp @@ -288,12 +288,16 @@ cc_library_shared { }, } -subdirs = [ - "lib", - "soong", - "utils/TableGen", - "tools/clang-check", - "tools/clang-format", - "tools/driver", - "tools/libclang", -] +genrule { + name: "renderscript-clang-include", + visibility: ["//development/build"], + tools: ["soong_zip"], + cmd: "$(location soong_zip) -o $(out) -P renderscript/clang-include " + + "-C $$(dirname $(location LICENSE.TXT))/lib/Headers -D $$(dirname $(location LICENSE.TXT))/lib/Headers " + + "-C $$(dirname $(location LICENSE.TXT)) -f $(location LICENSE.TXT)", + srcs: [ + "lib/Headers/**/*", + "LICENSE.TXT", + ], + out: ["clang-include.zip"], +} diff --git a/include/clang/Basic/IdentifierTable.h b/include/clang/Basic/IdentifierTable.h index fffb50493b..c71df832ac 100644 --- a/include/clang/Basic/IdentifierTable.h +++ b/include/clang/Basic/IdentifierTable.h @@ -358,8 +358,8 @@ private: /// change to it should be reflected here. void RecomputeNeedsHandleIdentifier() { NeedsHandleIdentifier = - (isPoisoned() | hasMacroDefinition() | isCPlusPlusOperatorKeyword() | - isExtensionToken() | isFutureCompatKeyword() || isOutOfDate() || + (isPoisoned() || hasMacroDefinition() || isCPlusPlusOperatorKeyword() || + isExtensionToken() || isFutureCompatKeyword() || isOutOfDate() || isModulesImport()); } }; diff --git a/lib/Android.bp b/lib/Android.bp index 99b29fff05..6782f61fb5 100644 --- a/lib/Android.bp +++ b/lib/Android.bp @@ -9,3 +9,9 @@ package { } subdirs = ["*"] + +filegroup { + name: "rs_clang_headers", + srcs: ["Headers/*.h"], + path: "Headers", +} |