[llvm] [code-format] Also include libc++ extensionless headers (PR #73142)

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 22 08:40:15 PST 2023


================
@@ -126,13 +126,18 @@ def should_be_excluded(self, path: str) -> bool:
             return True
         return False
 
+    def should_include_extensionless_file(self, path: str) -> bool:
+        return path.startswith('libcxx/include')
----------------
philnik777 wrote:

```suggestion
        return path.startswith("libcxx/include")
```
To make the formatter happy.

https://github.com/llvm/llvm-project/pull/73142


More information about the llvm-commits mailing list