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

Yan Zhang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 21 13:58:45 PDT 2018


Wizard added a comment.

For some ObjC headers it uses #import to import other headers instead of system framework, so I think we should also detect #import "*.h" as well.

The only usage of #import in C++  is to import type library, which won't have suffix of ".h".


Repository:
  rC Clang

https://reviews.llvm.org/D44634





More information about the cfe-commits mailing list