clang  14.0.0git
Functions
ASTSrcLocProcessor.cpp File Reference
#include "ASTSrcLocProcessor.h"
#include "clang/Frontend/CompilerInstance.h"
#include "llvm/Support/JSON.h"
#include "llvm/Support/MemoryBuffer.h"
Include dependency graph for ASTSrcLocProcessor.cpp:

Go to the source code of this file.

Functions

llvm::json::Object toJSON (llvm::StringMap< std::vector< StringRef >> const &Obj)
 
llvm::json::Object toJSON (llvm::StringMap< std::string > const &Obj)
 
llvm::json::Object toJSON (ClassData const &Obj)
 
llvm::json::Object toJSON (llvm::StringMap< ClassData > const &Obj)
 
void WriteJSON (StringRef JsonPath, llvm::json::Object &&ClassInheritance, llvm::json::Object &&ClassesInClade, llvm::json::Object &&ClassEntries)
 
std::vector< std::stringCaptureMethods (std::string TypeString, const clang::CXXRecordDecl *ASTClass, const MatchFinder::MatchResult &Result)
 

Function Documentation

◆ CaptureMethods()

std::vector<std::string> CaptureMethods ( std::string  TypeString,
const clang::CXXRecordDecl ASTClass,
const MatchFinder::MatchResult Result 
)

Definition at line 143 of file ASTSrcLocProcessor.cpp.

◆ toJSON() [1/4]

llvm::json::Object toJSON ( ClassData const &  Obj)

◆ toJSON() [2/4]

llvm::json::Object toJSON ( llvm::StringMap< ClassData > const &  Obj)

Definition at line 92 of file ASTSrcLocProcessor.cpp.

References toJSON().

◆ toJSON() [3/4]

llvm::json::Object toJSON ( llvm::StringMap< std::string > const &  Obj)

Definition at line 62 of file ASTSrcLocProcessor.cpp.

References toJSON().

◆ toJSON() [4/4]

llvm::json::Object toJSON ( llvm::StringMap< std::vector< StringRef >> const &  Obj)

◆ WriteJSON()

void WriteJSON ( StringRef  JsonPath,
llvm::json::Object &&  ClassInheritance,
llvm::json::Object &&  ClassesInClade,
llvm::json::Object &&  ClassEntries 
)