[clang] Add test for CWG190 "Layout-compatible POD-struct types" (#121668)
[llvm-project.git] / llvm / lib / Passes / CodeGenPassBuilder.cpp
blob16332200f9b4b83ebc4b133dbfc173585ee9c2af
1 //===--- CodeGenPassBuilder.cpp --------------------------------------- ---===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file defines interfaces to access the target independent code
10 // generation passes provided by the LLVM backend.
12 //===---------------------------------------------------------------------===//
14 #include "llvm/Passes/CodeGenPassBuilder.h"
16 using namespace llvm;
18 namespace llvm {
19 #define DUMMY_MACHINE_FUNCTION_ANALYSIS(NAME, CREATE_PASS) \
20 AnalysisKey PASS_NAME::Key;
21 #include "llvm/Passes/MachinePassRegistry.def"
22 } // namespace llvm