llvm-project/clang/lib/Index
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
..
CMakeLists.txt [index] CMake: add missing reference to clangSerialization library. 2017-01-30 06:48:27 +00:00
CodegenNameGenerator.cpp [index] Generate class & metaclass manglings for objc 2017-09-22 16:58:57 +00:00
CommentToXML.cpp Print enum constant values using the original source formatting 2017-08-17 13:41:55 +00:00
IndexBody.cpp [index] __builtin_offset's field reference is located at the end location 2017-11-07 18:25:36 +00:00
IndexDecl.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
IndexSymbol.cpp [Index] Reduce size of SymbolInfo struct. 2017-12-23 19:31:24 +00:00
IndexTypeSourceInfo.cpp [index] Update indexing to handle CXXDeductionGuideDecls properly 2017-08-15 17:20:37 +00:00
IndexingAction.cpp [index] Fix methods that take a shared_ptr to just take a reference. 2018-04-23 14:30:21 +00:00
IndexingContext.cpp [Index] Return SourceLocation to consumers, not FileID/Offset pair. 2018-04-09 14:12:51 +00:00
IndexingContext.h [index] The relation between the declarations in template specializations 2017-04-24 14:04:58 +00:00
SimpleFormatContext.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
USRGeneration.cpp This diff includes changes for supporting the following types. 2018-06-04 16:07:52 +00:00