[clang] eaa7d00 - [analyzer][NFC] Add missing LLVM header blurb (and license)
Gabor Marton via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 25 09:57:39 PDT 2020
Author: Gabor Marton
Date: 2020-03-25T17:57:29+01:00
New Revision: eaa7d00f366ba53e9cf4391163b93253065c2e6c
URL: https://github.com/llvm/llvm-project/commit/eaa7d00f366ba53e9cf4391163b93253065c2e6c
DIFF: https://github.com/llvm/llvm-project/commit/eaa7d00f366ba53e9cf4391163b93253065c2e6c.diff
LOG: [analyzer][NFC] Add missing LLVM header blurb (and license)
Added:
Modified:
clang/lib/StaticAnalyzer/Checkers/CheckPlacementNew.cpp
Removed:
################################################################################
diff --git a/clang/lib/StaticAnalyzer/Checkers/CheckPlacementNew.cpp b/clang/lib/StaticAnalyzer/Checkers/CheckPlacementNew.cpp
index be1a65c474d8..b7d615bec9ac 100644
--- a/clang/lib/StaticAnalyzer/Checkers/CheckPlacementNew.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/CheckPlacementNew.cpp
@@ -1,3 +1,15 @@
+//==- CheckPlacementNew.cpp - Check for placement new operation --*- 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
+//
+//===----------------------------------------------------------------------===//
+//
+// This file defines a check for misuse of the default placement new operator.
+//
+//===----------------------------------------------------------------------===//
+
#include "clang/StaticAnalyzer/Checkers/BuiltinCheckerRegistration.h"
#include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
More information about the cfe-commits
mailing list