llvm-project/clang/tools
Leonard Chan f921d85422 This diff includes changes for supporting the following types.
// Primary fixed point types
signed short _Accum s_short_accum;
signed _Accum s_accum;
signed long _Accum s_long_accum;
unsigned short _Accum u_short_accum;
unsigned _Accum u_accum;
unsigned long _Accum u_long_accum;

// Aliased fixed point types
short _Accum short_accum;
_Accum accum;
long _Accum long_accum;
This diff only allows for declaration of the fixed point types. Assignment and other operations done on fixed point types according to http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1169.pdf will be added in future patches. The saturated versions of these types and the equivalent _Fract types will also be added in future patches.

The tests included are for asserting that we can declare these types.

Fixed the test that was failing by not checking for dso_local on some
targets.

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

llvm-svn: 333923
2018-06-04 16:07:52 +00:00
..
arcmt-test [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
c-arcmt-test [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
c-index-test [libclang] Allow skipping function bodies in preamble only 2018-05-17 09:24:37 +00:00
clang-check Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
clang-diff [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
clang-format Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
clang-format-vs clang-format plugin: Add missing semicolon in list of file extensions (PR36383) 2018-02-20 09:26:38 +00:00
clang-func-mapping [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
clang-fuzzer update two comments as suggested on https://reviews.llvm.org/D46843 2018-05-15 16:37:00 +00:00
clang-import-test Fix case of LLVM library names. 2018-04-23 15:41:08 +00:00
clang-offload-bundler [HIP] Let clang-offload-bundler support HIP 2018-05-11 19:02:18 +00:00
clang-refactor Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
clang-rename Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
diag-build
diagtool [diagtool] Add diagtool to install target. 2018-05-16 10:23:25 +00:00
driver [cmake] Support LLD for CLANG_ORDER_FILE 2018-06-02 01:22:39 +00:00
libclang This diff includes changes for supporting the following types. 2018-06-04 16:07:52 +00:00
scan-build Fix typos in clang 2018-04-06 15:14:32 +00:00
scan-build-py Fix typos in clang 2018-04-06 15:14:32 +00:00
scan-view Fix typos in clang 2018-04-06 15:14:32 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00