clang
23.0.0git
include
clang
ScalableStaticAnalysis
SourceTransformation
SourceEditEmitter.h
Go to the documentation of this file.
1
//===- SourceEditEmitter.h --------------------------------------*- 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
// Abstract accumulator for source edits.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef LLVM_CLANG_SCALABLESTATICANALYSIS_SOURCETRANSFORMATION_SOURCEEDITEMITTER_H
14
#define LLVM_CLANG_SCALABLESTATICANALYSIS_SOURCETRANSFORMATION_SOURCEEDITEMITTER_H
15
16
#include "
clang/Tooling/Core/Replacement.h
"
17
18
namespace
clang::ssaf
{
19
20
class
SourceEditEmitter
{
21
public
:
22
virtual
~SourceEditEmitter
() =
default
;
23
24
virtual
void
addReplacement
(
clang::tooling::Replacement
R) = 0;
25
};
26
27
}
// namespace clang::ssaf
28
29
#endif
// LLVM_CLANG_SCALABLESTATICANALYSIS_SOURCETRANSFORMATION_SOURCEEDITEMITTER_H
Replacement.h
clang::ssaf::SourceEditEmitter
Definition
SourceEditEmitter.h:20
clang::ssaf::SourceEditEmitter::~SourceEditEmitter
virtual ~SourceEditEmitter()=default
clang::ssaf::SourceEditEmitter::addReplacement
virtual void addReplacement(clang::tooling::Replacement R)=0
clang::tooling::Replacement
A text replacement.
Definition
Replacement.h:83
clang::ssaf
Definition
CompilerInvocation.h:56
Generated on
for clang by
1.14.0