[PATCH] D44634: [clang-format] Detect Objective-C for #import <Foundation/Foundation.h>

Ben Hamilton via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 21 13:51:00 PDT 2018


#import is perfectly legal in C and C++, it's just not commonly used.

On Wed, Mar 21, 2018, 14:27 Yan Zhang via Phabricator <
reviews at reviews.llvm.org> wrote:

> Wizard added a comment.
>
> Why do we only detect system framework? I think any #import could indicate
> ObjC header.
>
>
> Repository:
>   rC Clang
>
> https://reviews.llvm.org/D44634
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180321/f3ab898f/attachment.html>


More information about the cfe-commits mailing list