clang
20.0.0git
include
clang
Edit
Commit.h
Go to the documentation of this file.
1
//===- Commit.h - A unit of edits -------------------------------*- C++ -*-===//
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
#ifndef LLVM_CLANG_EDIT_COMMIT_H
10
#define LLVM_CLANG_EDIT_COMMIT_H
11
12
#include "
clang/Basic/LLVM.h
"
13
#include "
clang/Basic/SourceLocation.h
"
14
#include "
clang/Edit/FileOffset.h
"
15
#include "llvm/ADT/SmallVector.h"
16
#include "llvm/ADT/StringRef.h"
17
#include "llvm/Support/Allocator.h"
18
19
namespace
clang
{
20
21
class
LangOptions;
22
class
PPConditionalDirectiveRecord;
23
class
SourceManager;
24
25
namespace
edit {
26
27
class
EditedSource
;
28
29
class
Commit
{
30
public
:
31
enum
EditKind
{