]> granicus.if.org Git - clang/commit
Revert "We allow implicit function declarations as an extension in all C dialects...
authorAnastasia Stulova <anastasia.stulova@arm.com>
Mon, 24 Sep 2018 14:21:56 +0000 (14:21 +0000)
committerAnastasia Stulova <anastasia.stulova@arm.com>
Mon, 24 Sep 2018 14:21:56 +0000 (14:21 +0000)
commite0d61134f09e29b71a0f6eea9502a2ffcf26fcdf
tree9b689849a1a27d6d90b0918839206ee80e9fff50
parent3d7d3e103a63f22f0fed0032f975070601ec212f
Revert "We allow implicit function declarations as an extension in all C dialects. Remove OpenCL special case."

Discussed on cfe-commits (Week-of-Mon-20180820), this change leads to
the generation of invalid IR for OpenCL without giving an error.
Therefore, the conclusion was to revert.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@342885 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
test/SemaOpenCL/clang-builtin-version.cl
test/SemaOpenCL/to_addr_builtin.cl