#include "UseStdNumbersCheck.h"
#include "../ClangTidyDiagnosticConsumer.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/AST/Expr.h"
#include "clang/AST/Stmt.h"
#include "clang/AST/Type.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/ASTMatchers/ASTMatchersInternal.h"
#include "clang/ASTMatchers/ASTMatchersMacros.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Lex/Lexer.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/MathExtras.h"
#include <array>
#include <cmath>
#include <cstdint>
#include <cstdlib>
#include <initializer_list>
#include <string>
#include <tuple>
#include <utility>
Go to the source code of this file.
|
static std::string | getCode (const StringRef Constant, const bool IsFloat, const bool IsLongDouble) |
static bool | isRangeOfCompleteMacro (const clang::SourceRange &Range, const clang::SourceManager &SM, const clang::LangOptions &LO) |
◆ getCode()
std::string getCode |
( |
const StringRef | Constant, |
|
|
const bool | IsFloat, |
|
|
const bool | IsLongDouble ) |
|
static |
◆ isRangeOfCompleteMacro()
bool isRangeOfCompleteMacro |
( |
const clang::SourceRange & | Range, |
|
|
const clang::SourceManager & | SM, |
|
|
const clang::LangOptions & | LO ) |
|
static |