]> granicus.if.org Git - clang/commit
[Frontend] Treat function with skipped body as definition
authorIlya Biryukov <ibiryukov@google.com>
Thu, 14 Dec 2017 13:00:33 +0000 (13:00 +0000)
committerIlya Biryukov <ibiryukov@google.com>
Thu, 14 Dec 2017 13:00:33 +0000 (13:00 +0000)
commitf38a7e77a530c9c439c9b49f033deabf00a569bd
treee4a9a6c45da3696668b9cfe81340d19254982fbc
parent5f4b5f89ed260041f1492e754cf5447f4f4123ed
[Frontend] Treat function with skipped body as definition

Summary:
This fixes an invalid warning about missing definition of a function when
parsing with SkipFunctionBodies=true

Reviewers: bkramer, sepavloff

Reviewed By: sepavloff

Subscribers: klimek, cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@320696 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Decl.h
test/Index/skipped_function_bodies.cpp [new file with mode: 0644]