diff options
author | Sam McCall <sam.mccall@gmail.com> | 2020-08-26 10:33:25 +0200 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2020-08-27 15:24:17 +0200 |
commit | 266825620c7f8d10d48abd0346527cea50c8202d (patch) | |
tree | b2867d3edd9197ad5f9a33c59387d3be1940d818 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9f5927e42bf4a7448dc9dd3a1550d1126c595dad (diff) | |
download | llvm-266825620c7f8d10d48abd0346527cea50c8202d.zip llvm-266825620c7f8d10d48abd0346527cea50c8202d.tar.gz llvm-266825620c7f8d10d48abd0346527cea50c8202d.tar.bz2 |
[Tooling][Format] Treat compound extensions (foo.bar.cc) as matching foo.h
Motivating use case is ".cu.cc" extensions used in some bazel projects.
Alternative is to work around this with IncludeIsMainRegex in styles.
I proposed this approach because it seems like a better default.
Differential Revision: https://reviews.llvm.org/D86597
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions