[PATCH] D42740: Implement a case-folding version of DJB hash

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 1 08:50:29 PST 2018



> On Feb 1, 2018, at 8:46 AM, Jonas Devlieghere <jdevlieghere at apple.com> wrote:
> 
> 
> 
>> On Feb 1, 2018, at 4:42 PM, David Blaikie <dblaikie at gmail.com> wrote:
>> 
>> Jonas: I think the C++ comment is only required for headers - since the file extension is ambiguous between C and C++
> 
> That would make sense. I opened a few files before writing that comment and both headers and implementation files seem to have this, maybe I got (un)lucky or maybe it’s just because people tend to copy/paste this.
> 

Yes, it exists so emacs does syntax highlighting for C++ in a .h file instead of defaulting to C mode.

-- adrian


More information about the llvm-commits mailing list