llvm-project/clang/lib/Parse
Justin Lebar 67a78a6cc0 [CUDA] Add #pragma clang force_cuda_host_device_{begin,end} pragmas.
Summary:
These cause us to consider all functions in-between to be __host__
__device__.

You can nest these pragmas; you just can't have more 'end's than
'begin's.

Reviewers: rsmith

Subscribers: tra, jhen, cfe-commits

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

llvm-svn: 283677
2016-10-08 22:15:58 +00:00
..
CMakeLists.txt [CMake] Reorder libdeps by alphabetical order. 2014-07-14 04:59:27 +00:00
ParseAST.cpp C++ Modules TS: add frontend support for building pcm files from module 2016-08-26 00:14:38 +00:00
ParseCXXInlineMethods.cpp Fix a few issues while skipping function bodies 2016-06-16 21:40:06 +00:00
ParseDecl.cpp [SemaObjC] Be more strict while parsing type arguments and protocols 2016-09-13 20:04:35 +00:00
ParseDeclCXX.cpp C++ Modules TS: Add parsing and some semantic analysis support for 2016-09-08 23:14:54 +00:00
ParseExpr.cpp [Parser] Fix bug where delayed typo in conditional expression was corrected twice 2016-07-29 00:55:40 +00:00
ParseExprCXX.cpp [CUDA] Emit a warning if a CUDA host/device/global attribute is placed after '(...)'. 2016-09-30 19:55:55 +00:00
ParseInit.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
ParseObjc.cpp [SemaObjC] Be more strict while parsing type arguments and protocols 2016-09-13 20:04:35 +00:00
ParseOpenMP.cpp Move calls of MaybeParseMicrosoftAttributes() before ParseExternalDeclaration() 2016-09-03 02:48:03 +00:00
ParsePragma.cpp [CUDA] Add #pragma clang force_cuda_host_device_{begin,end} pragmas. 2016-10-08 22:15:58 +00:00
ParseStmt.cpp [Parse] Let declarations follow labels in -fms-extensions mode 2016-08-01 16:39:29 +00:00
ParseStmtAsm.cpp Fix a funny Dvorak typo. 2016-05-19 00:16:09 +00:00
ParseTemplate.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
ParseTentative.cpp P0217R3: Parsing support and framework for AST representation of C++1z 2016-07-22 23:36:59 +00:00
Parser.cpp [SemaObjC] Be more strict while parsing type arguments and protocols 2016-09-13 20:04:35 +00:00
RAIIObjectsForParser.h Add a new error for unexpected semi-colon before closing delimiter. 2015-05-12 21:36:35 +00:00