[clang] [clang][ssaf] Add UnsafeBufferUsage summary extractor (PR #182941)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 2 05:01:41 PST 2026


================
@@ -1,31 +1,40 @@
-//===- UnsafeBufferUsageBuilder.h -------------------------------*- C++ -*-===//
+//===- UnsafeBufferUsageExtractor.h -----------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.
 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
-#ifndef LLVM_CLANG_ANALYSIS_SCALABLE_ANALYSES_UNSAFEBUFFERUSAGE_UNSAFEBUFFERUSAGEBUILDER_H
-#define LLVM_CLANG_ANALYSIS_SCALABLE_ANALYSES_UNSAFEBUFFERUSAGE_UNSAFEBUFFERUSAGEBUILDER_H
+#ifndef LLVM_CLANG_ANALYSIS_SCALABLE_ANALYSES_UNSAFEBUFFERUSAGE_EXTRACTOR_H
+#define LLVM_CLANG_ANALYSIS_SCALABLE_ANALYSES_UNSAFEBUFFERUSAGE_EXTRACTOR_H
----------------
steakhal wrote:

The header guard name should be based of the path name.
I think it should be `LLVM_CLANG_ANALYSIS_SCALABLE_ANALYSES_UNSAFEBUFFERUSAGE_UNSAFEBUFFERUSAGEEXTRACTOR_H`

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


More information about the cfe-commits mailing list