-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Our code is being detected as 57.4% C++, 33.4% Objective-C, 7.3% C, and 1.9% CMake. There are several issues here:
-
Extensionless headers like
stl/inc/vectorare indexed and searchable, but aren't being detected as any language. -
stl/inc/xcharconv_ryu_tables.his being detected as Objective-C, but it's C++. -
stl/src/nlsdownlevel.his being detected as Objective-C. This is C++ (included bystl/src/winapinls.cpponly), but it uses C idioms (self-typedefs). We should probably fusenlsdownlevel.hintowinapinls.cppand remove the C idioms. -
Several files like
stl/inc/xcharconv.hare being detected as C when they're C++. A very small number of our files are intended to be usable as both C and C++, while the rest are purely C++.
https://github.com/github/linguist#troubleshooting explains how to override this language detection.