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)
commitae2e86fb2f198cc89e3e525b973989e26e4ecd9f
tree7e4e13053663660ff5dd268e469f1426b6992a71
parentf9808c5f09d58cb3e1e744a232b9ea390669b2c1
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.

llvm-svn: 342885
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaDecl.cpp
clang/test/SemaOpenCL/clang-builtin-version.cl
clang/test/SemaOpenCL/to_addr_builtin.cl