[libc-commits] [libc] [libc] fix clang-tidy llvm-header-guard warnings (PR #82679)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Wed Feb 28 08:37:09 PST 2024


================
@@ -6,9 +6,9 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef __LLVM_LIBC_TYPES_ACTION_H__
-#define __LLVM_LIBC_TYPES_ACTION_H__
+#ifndef LLVM_LIBC_TYPES_ACTION_H__
----------------
nickdesaulniers wrote:

I haven't yet read the sources of this clang-tidy check, but a comment in a test for it seems to betray that I might need to manually fix up trailing underscores.

https://github.com/llvm-mirror/clang-tools-extra/blob/5c40544fa40bfb85ec888b6a03421b3905e4a4e7/unittests/clang-tidy/LLVMModuleTest.cpp#L60

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


More information about the libc-commits mailing list