llvm-project/clang/tools/libclang
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
..
ARCMigrate.cpp [CMake] Use #cmakedefine01 for CLANG_ENABLE_(ARCMT|OBJC_REWRITER|STATIC_ANALYZER) 2017-10-18 05:21:17 +00:00
BuildSystem.cpp Clean up use of C allocation functions 2018-02-21 02:02:39 +00:00
CIndex.cpp [libclang] Allow skipping function bodies in preamble only 2018-05-17 09:24:37 +00:00
CIndexCXX.cpp [libclang] Remove the 'extern "C"' blocks from the implementation files. 2016-12-17 01:09:40 +00:00
CIndexCodeCompletion.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
CIndexDiagnostic.cpp Revert "Revert "[NFC] Refactor DiagnosticRenderer to use FullSourceLoc"" 2017-06-27 09:50:38 +00:00
CIndexDiagnostic.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
CIndexHigh.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
CIndexInclusionStack.cpp [libclang] Remove the 'extern "C"' blocks from the implementation files. 2016-12-17 01:09:40 +00:00
CIndexUSRs.cpp [libclang] Remove the 'extern "C"' blocks from the implementation files. 2016-12-17 01:09:40 +00:00
CIndexer.cpp IWYU for llvm-config.h in clang. See r331124 for details. 2018-04-30 13:52:15 +00:00
CIndexer.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
CLog.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
CMakeLists.txt Fix typo in comment. 2018-04-23 19:22:52 +00:00
CXComment.cpp [libclang] Remove the 'extern "C"' blocks from the implementation files. 2016-12-17 01:09:40 +00:00
CXComment.h
CXCompilationDatabase.cpp [Tooling][libclang] Remove unused CompilationDatabase::MappedSources 2017-05-23 13:50:43 +00:00
CXCursor.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
CXCursor.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
CXIndexDataConsumer.cpp [Index] Return SourceLocation to consumers, not FileID/Offset pair. 2018-04-09 14:12:51 +00:00
CXIndexDataConsumer.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
CXLoadedDiagnostic.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
CXLoadedDiagnostic.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
CXSourceLocation.cpp Reverting r316278 due to failing build bots. 2017-10-21 21:52:48 +00:00
CXSourceLocation.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
CXStoredDiagnostic.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
CXString.cpp Clean up use of C allocation functions 2018-02-21 02:02:39 +00:00
CXString.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
CXTranslationUnit.h [libclang] Record code-completion invocations to a temporary file when 2017-12-07 20:37:50 +00:00
CXType.cpp This diff includes changes for supporting the following types. 2018-06-04 16:07:52 +00:00
CXType.h
CursorVisitor.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
Index_Internal.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
Indexing.cpp Reland '[clang] Adding CharacteristicKind to PPCallbacks::InclusionDirective' 2018-05-10 19:05:36 +00:00
libclang.exports [libclang] Add clang_File_tryGetRealPathName 2018-04-07 20:50:35 +00:00