12 #ifndef LLVM_CLANG_BASIC_XRAYLISTS_H
13 #define LLVM_CLANG_BASIC_XRAYLISTS_H
17 #include "llvm/ADT/ArrayRef.h"
18 #include "llvm/ADT/StringRef.h"
22 class SpecialCaseList;
30 std::unique_ptr<llvm::SpecialCaseList> AlwaysInstrument;
31 std::unique_ptr<llvm::SpecialCaseList> NeverInstrument;
32 std::unique_ptr<llvm::SpecialCaseList> AttrList;
52 StringRef Category = StringRef())
const;
55 StringRef Category = StringRef())
const;
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified.
Defines the clang::SourceLocation class and associated facilities.
Encodes a location in the source.
This class handles loading and caching of source files into memory.
ImbueAttribute shouldImbueLocation(SourceLocation Loc, StringRef Category=StringRef()) const
ImbueAttribute shouldImbueFunctionsInFile(StringRef Filename, StringRef Category=StringRef()) const
ImbueAttribute shouldImbueFunction(StringRef FunctionName) const
XRayFunctionFilter(ArrayRef< std::string > AlwaysInstrumentPaths, ArrayRef< std::string > NeverInstrumentPaths, ArrayRef< std::string > AttrListPaths, SourceManager &SM)
The JSON file list parser is used to communicate input to InstallAPI.
Diagnostic wrappers for TextAPI types for error reporting.