clang
22.0.0git
lib
Format
NumericLiteralCaseFixer.h
Go to the documentation of this file.
1
//===--- NumericLiteralCaseFixer.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
/// \file
10
/// This file declares NumericLiteralCaseFixer that standardizes character case
11
/// within numeric literals.
12
///
13
//===----------------------------------------------------------------------===//
14
15
#ifndef LLVM_CLANG_LIB_FORMAT_NUMERICLITERALCASEFIXER_H
16
#define LLVM_CLANG_LIB_FORMAT_NUMERICLITERALCASEFIXER_H
17
18
#include "
TokenAnalyzer.h
"
19
20
namespace
clang
{
21
namespace
format
{
22
23
class
NumericLiteralCaseFixer
{
24
public
:
25
std::pair<tooling::Replacements, unsigned>
process
(
const
Environment
&Env,
26
const
FormatStyle &Style);
27
};
28
29
}
// end namespace format
30
}
// end namespace clang
31
32
#endif
TokenAnalyzer.h
This file declares an abstract TokenAnalyzer, and associated helper classes.
clang::format::Environment
Definition
TokenAnalyzer.h:26
clang::format::NumericLiteralCaseFixer
Definition
NumericLiteralCaseFixer.h:23
clang::format::NumericLiteralCaseFixer::process
std::pair< tooling::Replacements, unsigned > process(const Environment &Env, const FormatStyle &Style)
Definition
NumericLiteralCaseFixer.cpp:125
clang::format
Definition
Format.h:33
clang
The JSON file list parser is used to communicate input to InstallAPI.
Definition
CalledOnceCheck.h:17
Generated on
for clang by
1.14.0