llvm-project/clang/lib/Parse
Alexey Bader 1f2779407e [OpenCL] Allow function declaration with empty argument list.
Treat 'f()' as 'f(void)' rather than a function w/o a prototype.

Reviewers: Anastasia, yaxunl

Reviewed By: Anastasia, yaxunl

Subscribers: cfe-commits, echuraev, chapuni

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

Re-apply revision 306653.

llvm-svn: 315453
2017-10-11 11:16:31 +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 PR34163: Don't cache an incorrect key function for a class if queried between 2017-08-12 01:46:03 +00:00
ParseDecl.cpp [OpenCL] Allow function declaration with empty argument list. 2017-10-11 11:16:31 +00:00
ParseDeclCXX.cpp [c++2a] P0683R1: Permit default member initializers for bit-fields. 2017-08-28 00:28:14 +00:00
ParseExpr.cpp Properly parse a postfix expression following a Boolean literal. Fixes PR34273. 2017-09-28 21:29:18 +00:00
ParseExprCXX.cpp Remove unused variables. No functionality change. 2017-10-08 21:23:02 +00:00
ParseInit.cpp Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-01 21:23:52 +00:00
ParseObjc.cpp Place implictly declared functions at block scope 2017-08-10 15:43:06 +00:00
ParseOpenMP.cpp [OPENMP] Allow use of declare target directive inside struct 2017-10-03 20:00:00 +00:00
ParsePragma.cpp Place implictly declared functions at block scope 2017-08-10 15:43:06 +00:00
ParseStmt.cpp Place implictly declared functions at block scope 2017-08-10 15:43:06 +00:00
ParseStmtAsm.cpp [X86][MS-InlineAsm] Extended support for variables / identifiers on memory / immediate expressions 2017-09-29 07:02:49 +00:00
ParseTemplate.cpp Fix templated type alias completion when using global completion cache 2017-09-08 09:31:13 +00:00
ParseTentative.cpp Recommit "Add _Float16 as a C/C++ source language type" 2017-09-08 15:15:00 +00:00
Parser.cpp [Modules TS] Diagnose attempts to enter module implementation units without the module interface being available. 2017-10-10 22:35:27 +00:00