hanchenye-llvm-project/clang/lib
Saleem Abdulrasool afdef205d8 Headers: Add ARM support to intrin.h for MSVC compatibility
This fixes compiling with headers from the Windows SDK for ARM, where the
YieldProcessor function (in winnt.h) refers to _ARM_BARRIER_ISHST.

The actual MSVC armintr.h contains a lot more definitions, but this is enough to
build code that uses the Windows SDK but doesn't use ARM intrinsics directly.

An alternative would to just keep the addition to intrin.h (to include
armintr.h), but not actually ship armintr.h, instead having clang's intrin.h
include armintr.h from MSVC's include directory. (That one works fine with
clang, at least for building code that uses the Windows SDK.)

Patch by Martin Storsjö!

llvm-svn: 277928
2016-08-06 17:58:24 +00:00
..
ARCMigrate [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
AST Fix typos from r277797 and unused variable from r277889. 2016-08-06 01:44:06 +00:00
ASTMatchers [ASTMatcher] Add templateName matcher. 2016-07-29 15:45:11 +00:00
Analysis [analyzer] Make CloneDetector recognize different variable patterns. 2016-08-04 19:37:00 +00:00
Basic [OpenMP] Sema and parsing for 'teams distribute' pragma 2016-08-05 14:37:37 +00:00
CodeGen PR26423: Assert on valid use of using declaration of a function with an undeduced auto return type 2016-08-05 19:03:01 +00:00
Driver [CUDA] Fix libdevice selection. 2016-08-02 23:12:51 +00:00
Edit [OpenCL] Generate opaque type for sampler_t and function call for the initializer 2016-07-28 19:26:30 +00:00
Format Implement tooling::Replacements as a class. 2016-08-01 10:16:37 +00:00
Frontend Move helpers into anonymous namespaces. NFC. 2016-08-06 11:21:04 +00:00
FrontendTool Make it possible for AST plugins to enable themselves by default 2016-03-15 12:51:40 +00:00
Headers Headers: Add ARM support to intrin.h for MSVC compatibility 2016-08-06 17:58:24 +00:00
Index [index] Fix crash with indexing designated init expressions inside templates. 2016-08-03 05:38:53 +00:00
Lex Reapply r276973 "Adjust Registry interface to not require plugins to export a registry" 2016-08-05 11:01:08 +00:00
Parse [OpenMP] Sema and parsing for 'teams distribute' pragma 2016-08-05 14:37:37 +00:00
Rewrite Remove use of builtin comma operator. 2016-02-18 22:34:54 +00:00
Sema [Sema] Make switch fully covered again. 2016-08-06 11:28:20 +00:00
Serialization [ASTReader] Use real move semantics instead of emulating them in the copy ctor. 2016-08-06 12:45:16 +00:00
StaticAnalyzer [StaticAnalyzer] Remove dead code. 2016-08-06 11:20:59 +00:00
Tooling Reapply r276973 "Adjust Registry interface to not require plugins to export a registry" 2016-08-05 11:01:08 +00:00
CMakeLists.txt