This is an archive of the discontinued LLVM Phabricator instance.

[Tooling] Recognize angle brackets for main header
Needs ReviewPublic

Authored by drdanz on Mar 12 2020, 8:20 AM.

Details

Reviewers
ioeric
Summary

clang-format does not recognize as main header an include that uses
angle brackets. This is a common practice used in many projects.

This patch removes the initial check for the '"' character.

Diff Detail

Event Timeline

drdanz created this revision.Mar 12 2020, 8:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 12 2020, 8:20 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript