]> granicus.if.org Git - clang/commit
[WebAssembly] Backport custom import name changes for clang to 8.0.
authorHans Wennborg <hans@hanshq.net>
Tue, 12 Feb 2019 12:26:10 +0000 (12:26 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 12 Feb 2019 12:26:10 +0000 (12:26 +0000)
commit8ffe5246a3a29bb151f1ad261a5d342f5d328eff
treeb9403a548f42f89fd62eade2f583d20514249fb3
parent0781e7b214e66cdd5938a8d50b90a5c561d8e349
[WebAssembly] Backport custom import name changes for clang to 8.0.

Specifically, this backports r352106, r352108, r352930, and r352936
to the 8.0 branch. The trunk patches don't apply cleanly to 8.0 due to
some contemporaneous mass-rename and mass-clang-tidy patches, so
this merges them to simplify rebasing.

r352106 [WebAssembly] Add an import_module function attribute
r352108 [WebAssembly] Add WebAssemblyImportModule to pragma-attribute-supported-attributes-list.test
r352930 [WebAssembly] Add an import_field function attribute
r352936 [WebAssembly] Fix ImportName's position in this test.

By Dan Gohman!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_80@353834 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
include/clang/Basic/AttrDocs.td
lib/CodeGen/TargetInfo.cpp
lib/Sema/SemaDeclAttr.cpp
test/CodeGen/wasm-import-module.c [new file with mode: 0644]
test/CodeGen/wasm-import-name.c [new file with mode: 0644]
test/Misc/pragma-attribute-supported-attributes-list.test