clang: lib/StaticAnalyzer/Core/PrettyStackTraceLocationContext.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9#ifndef LLVM_CLANG_LIB_STATICANALYZER_CORE_PRETTYSTACKTRACELOCATIONCONTEXT_H

10#define LLVM_CLANG_LIB_STATICANALYZER_CORE_PRETTYSTACKTRACELOCATIONCONTEXT_H

11

13

15namespace ento {

16

17

18

19

20

21

22

23

24

25

26

27

30public:

32 assert(LCtx);

33 }

34

35 void print(raw_ostream &Out) const override {

36 Out << "While analyzing stack: \n";

38 }

39};

40

41}

42}

43

44#endif

This file defines AnalysisDeclContext, a class that manages the analysis context data for context sen...

It wraps the AnalysisDeclContext to represent both the call stack with the help of StackFrameContext ...

LLVM_DUMP_METHOD void dumpStack(raw_ostream &Out) const

Prints out the call stack.

While alive, includes the current analysis stack in a crash trace.

void print(raw_ostream &Out) const override

PrettyStackTraceLocationContext(const LocationContext *LC)

The JSON file list parser is used to communicate input to InstallAPI.