clang 20.0.0git
|
#include "clang/AST/Decl.h"
#include "clang/AST/DeclBase.h"
#include "clang/AST/Stmt.h"
#include "clang/Analysis/IssueHash.h"
#include "clang/Analysis/MacroExpansionContext.h"
#include "clang/Analysis/PathDiagnostic.h"
#include "clang/Basic/FileManager.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Lex/Lexer.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Lex/Token.h"
#include "clang/Rewrite/Core/HTMLRewrite.h"
#include "clang/Rewrite/Core/Rewriter.h"
#include "clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/RewriteBuffer.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/Sequence.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/iterator_range.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Errc.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cassert>
#include <map>
#include <memory>
#include <set>
#include <sstream>
#include <string>
#include <system_error>
#include <utility>
#include <vector>
Go to the source code of this file.
Functions | |
static llvm::SmallString< 32 > | getIssueHash (const PathDiagnostic &D, const Preprocessor &PP) |
static bool | shouldDisplayPopUpRange (const SourceRange &Range) |
static void | HandlePopUpPieceStartTag (Rewriter &R, const std::vector< SourceRange > &PopUpRanges) |
static void | HandlePopUpPieceEndTag (Rewriter &R, const PathDiagnosticPopUpPiece &Piece, std::vector< SourceRange > &PopUpRanges, unsigned int LastReportedPieceIndex, unsigned int PopUpPieceIndex) |
static void | EmitAlphaCounter (raw_ostream &os, unsigned n) |
std::string | getSpanBeginForControl (const char *ClassName, unsigned Index) |
std::string | getSpanBeginForControlStart (unsigned Index) |
std::string | getSpanBeginForControlEnd (unsigned Index) |
document | addEventListener ("DOMContentLoaded", function() { document .querySelector('input[id="showinvocation"]') .addEventListener("click", drawArrows);document .querySelector('input[name="showCounterexample"]') .addEventListener("change", drawArrows);document .querySelector('input[name="showArrows"]') .addEventListener("change", toggleArrows);drawArrows();highlightArrowsForSelectedEvent();}) |
Variables | |
var | drawArrows |
document addEventListener | ( | "DOMContentLoaded" | , |
function() { document .querySelector('input[id="showinvocation"]') .addEventListener("click", drawArrows);document .querySelector('input[name="showCounterexample"]') .addEventListener("change", drawArrows);document .querySelector('input[name="showArrows"]') .addEventListener("change", toggleArrows);drawArrows();highlightArrowsForSelectedEvent();} | |||
) |
|
static |
Definition at line 1034 of file HTMLDiagnostics.cpp.
References clang::FullSourceLoc::getBufferData(), clang::FullSourceLoc::getDecomposedLoc(), clang::FullSourceLoc::getExpansionLoc(), clang::Preprocessor::getLangOpts(), clang::Token::getLength(), clang::SourceLocation::isFileID(), clang::Lexer::LexFromRawLexer(), and SM.
|
static |
Definition at line 253 of file HTMLDiagnostics.cpp.
References clang::ento::PathDiagnosticLocation::asLocation(), D, clang::SourceManager::getExpansionLoc(), getIssueHash(), clang::Preprocessor::getLangOpts(), clang::Decl::getLocation(), clang::Preprocessor::getSourceManager(), and clang::ento::PathDiagnosticLocation::isValid().
Referenced by getIssueHash().
std::string getSpanBeginForControl | ( | const char * | ClassName, |
unsigned | Index | ||
) |
Definition at line 1087 of file HTMLDiagnostics.cpp.
std::string getSpanBeginForControlEnd | ( | unsigned | Index | ) |
Definition at line 1098 of file HTMLDiagnostics.cpp.
std::string getSpanBeginForControlStart | ( | unsigned | Index | ) |
Definition at line 1094 of file HTMLDiagnostics.cpp.
|
static |
Definition at line 667 of file HTMLDiagnostics.cpp.
|
static |
Definition at line 655 of file HTMLDiagnostics.cpp.
|
static |
Definition at line 650 of file HTMLDiagnostics.cpp.
var drawArrows |
Definition at line 1478 of file HTMLDiagnostics.cpp.