clang 20.0.0git
Classes | Namespaces | Typedefs | Functions
AtomicChange.h File Reference
#include "clang/Basic/SourceManager.h"
#include "clang/Format/Format.h"
#include "clang/Tooling/Core/Replacement.h"
#include "llvm/ADT/Any.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Error.h"

Go to the source code of this file.

Classes

class  clang::tooling::AtomicChange
 An atomic change is used to create and group a set of source edits, e.g. More...
 
struct  clang::tooling::ApplyChangesSpec
 

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  clang::tooling
 

Typedefs

using clang::tooling::AtomicChanges = std::vector< AtomicChange >
 

Functions

llvm::Expected< std::string > clang::tooling::applyAtomicChanges (llvm::StringRef FilePath, llvm::StringRef Code, llvm::ArrayRef< AtomicChange > Changes, const ApplyChangesSpec &Spec)
 Applies all AtomicChanges in Changes to the Code.