|
clang-tools 22.0.0git
|
#include "SwappedArgumentsCheck.h"#include "clang/AST/ASTContext.h"#include "clang/Lex/Lexer.h"#include "clang/Tooling/FixIt.h"#include "llvm/ADT/SmallPtrSet.h"Go to the source code of this file.
Namespaces | |
| namespace | clang |
| ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===// | |
| namespace | clang::tidy |
| namespace | clang::tidy::bugprone |
Functions | |
| static const Expr * | clang::tidy::bugprone::ignoreNoOpCasts (const Expr *E) |
| Look through lvalue to rvalue and nop casts. | |
| static bool | clang::tidy::bugprone::isImplicitCastCandidate (const CastExpr *Cast) |
| Restrict the warning to implicit casts that are most likely accidental. | |
| static bool | clang::tidy::bugprone::areTypesSemiEqual (const QualType L, const QualType R) |
| static bool | clang::tidy::bugprone::areArgumentsPotentiallySwapped (const QualType LTo, const QualType RTo, const QualType LFrom, const QualType RFrom) |