llvm-project/clang/lib/Parse
Anastasia Stulova cf04d04ccf [OpenCL] Disallow taking an address of a function.
An undecorated function designator implies taking the address of a function,
which is illegal in OpenCL. Implementing a check for this earlier to allow
the error to be reported even in the presence of other more obvious errors.

Patch by Neil Hickey!

http://reviews.llvm.org/D15691

llvm-svn: 256838
2016-01-05 14:39:27 +00:00
..
CMakeLists.txt [CMake] Reorder libdeps by alphabetical order. 2014-07-14 04:59:27 +00:00
Makefile
ParseAST.cpp Restore PrettyStackTrace state on crash. 2015-08-07 17:48:57 +00:00
ParseCXXInlineMethods.cpp Merge some similar diagnostics using %select. 2015-11-14 18:16:08 +00:00
ParseDecl.cpp [Sema] ArrayRef-ize ActOnTemplateParameterList. NFC 2015-12-24 23:58:25 +00:00
ParseDeclCXX.cpp [Sema] ArrayRef-ize ActOnBaseSpecifiers. NFC 2015-12-27 21:55:19 +00:00
ParseExpr.cpp [OpenCL] Disallow taking an address of a function. 2016-01-05 14:39:27 +00:00
ParseExprCXX.cpp [coroutines] Support braced-init-list as operand of co_yield expression. 2015-11-20 22:47:10 +00:00
ParseInit.cpp Silence a -Wunused-variable warning; NFC. 2015-07-07 13:21:26 +00:00
ParseObjc.cpp [Sema] ArrayRef-ize BuildObjCDictionaryLiteral. NFC 2015-12-24 23:58:15 +00:00
ParseOpenMP.cpp Silence enumeral and non-enumeral type in conditional expression warning; NFC. 2015-12-28 15:52:46 +00:00
ParsePragma.cpp Put global classes into the appropriate namespace. 2015-10-28 13:54:16 +00:00
ParseStmt.cpp [MS] Fix for bug 25013 - #pragma vtordisp is unknown inside functions, by Denis Zobnin. 2015-11-20 07:02:57 +00:00
ParseStmtAsm.cpp Remove an unused parameter 2016-01-05 00:08:41 +00:00
ParseTemplate.cpp [Sema] ArrayRef-ize ActOnTemplateParameterList. NFC 2015-12-24 23:58:25 +00:00
ParseTentative.cpp Add support for GCC's '__auto_type' extension, per the GCC manual: 2015-11-11 02:02:15 +00:00
Parser.cpp Merge some similar diagnostics using %select. 2015-11-14 18:16:08 +00:00
RAIIObjectsForParser.h Add a new error for unexpected semi-colon before closing delimiter. 2015-05-12 21:36:35 +00:00