clang-tools 20.0.0git
Namespaces | Functions
clang Namespace Reference

===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===// More...

Namespaces

namespace  ast_matchers
 
namespace  clangd
 FIXME: Skip testing on windows temporarily due to the different escaping code mode.
 
namespace  doc
 
namespace  find_all_symbols
 
namespace  include_fixer
 
namespace  move
 
namespace  pp_trace
 
namespace  query
 
namespace  reorder_fields
 
namespace  replace
 
namespace  serialization
 
namespace  syntax
 
namespace  tidy
 
namespace  tooling
 

Functions

static Token getTokenAtLoc (SourceLocation Loc, const MatchFinder::MatchResult &MatchResult, IdentifierTable &IdentTable)
 
static bool isUsedToInitializeAConstant (const MatchFinder::MatchResult &Result, const DynTypedNode &Node)
 
static bool isUsedToDefineATypeAlias (const MatchFinder::MatchResult &Result, const DynTypedNode &Node)
 
static bool isUsedToDefineABitField (const MatchFinder::MatchResult &Result, const DynTypedNode &Node)
 

Detailed Description

===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//

===- ThreadCrashReporterTests.cpp - Thread local signal handling tests -===//

Whether current platform treats paths case insensitively.

-tidy-diff

===– Representation.h - ClangDoc Representation ----------—*- C++ -*-===//

ClangTidy Diff Checker
======================

This script reads input from a unified diff, runs clang-tidy on all changed
files and outputs clang-tidy warnings in changed lines only. This is useful to
detect clang-tidy regressions in the lines touched by a specific patch.
Example usage for git/svn users:

  git diff -U0 HEAD^ | clang-tidy-diff.py -p1
  svn diff --diff-cmd=diff -x-U0 | \
      clang-tidy-diff.py -fix -checks=-*,modernize-use-override

Function Documentation

◆ getTokenAtLoc()

static Token clang::getTokenAtLoc ( SourceLocation  Loc,
const MatchFinder::MatchResult &  MatchResult,
IdentifierTable &  IdentTable 
)
static

Definition at line 23 of file IntegerTypesCheck.cpp.

References Info, and Loc.

Referenced by clang::tidy::google::runtime::IntegerTypesCheck::check().

◆ isUsedToDefineABitField()

static bool clang::isUsedToDefineABitField ( const MatchFinder::MatchResult &  Result,
const DynTypedNode &  Node 
)
static

Definition at line 59 of file MagicNumbersCheck.cpp.

References Node, and Parent.

◆ isUsedToDefineATypeAlias()

static bool clang::isUsedToDefineATypeAlias ( const MatchFinder::MatchResult &  Result,
const DynTypedNode &  Node 
)
static

Definition at line 47 of file MagicNumbersCheck.cpp.

References Node, and Parent.

◆ isUsedToInitializeAConstant()

static bool clang::isUsedToInitializeAConstant ( const MatchFinder::MatchResult &  Result,
const DynTypedNode &  Node 
)
static

Definition at line 27 of file MagicNumbersCheck.cpp.

References Node, and Parent.