#include "MacroConditionCheck.h"
#include "../utils/LexerUtils.h"
#include "clang/Basic/DiagnosticIDs.h"
#include "clang/Lex/Lexer.h"
#include "clang/Lex/MacroInfo.h"
#include "clang/Lex/PPCallbacks.h"
#include "clang/Lex/Preprocessor.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include <memory>
#include <optional>
#include <string>
#include <utility>
Go to the source code of this file.
|
| static bool | clang::tidy::bugprone::isOperatorToken (const Token &Token, tok::TokenKind Kind, StringRef Alternative, const LangOptions &LangOpts) |
| static bool | clang::tidy::bugprone::skipFunctionLikeInvocation (ArrayRef< Token > Tokens, size_t &Index) |
| static bool | clang::tidy::bugprone::isNegatedDefined (ArrayRef< Token > Tokens, size_t Index, const LangOptions &LangOpts) |
| static bool | clang::tidy::bugprone::parseDefinitionGuardExpression (ArrayRef< Token > Tokens, size_t &Index, SmallVectorImpl< std::string > &Guards, const LangOptions &LangOpts) |
| static bool | clang::tidy::bugprone::parseDefinitionGuardPrimary (ArrayRef< Token > Tokens, size_t &Index, SmallVectorImpl< std::string > &Guards, const LangOptions &LangOpts) |
| StringRef | clang::tidy::bugprone::getTokenName (const Token &Tok) |
| | Returns the spelling of an identifier token.
|