diff options
author | bloodstalker <thabogre@gmail.com> | 2018-11-26 14:08:43 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-11-26 14:08:43 +0000 |
commit | dc22658993ae658bca4ed8bae0e4fcb219059de4 (patch) | |
tree | 8641c62b5caf38546e2b984f9e372c165adfb326 /safercpp | |
parent | lgtm (diff) | |
download | mutator-dc22658993ae658bca4ed8bae0e4fcb219059de4.tar.gz mutator-dc22658993ae658bca4ed8bae0e4fcb219059de4.zip |
introducing cgrep, a new addition to the mutator family. updated the readme for bruiser. some minor changes to the wasm setter test script. things look more or less fine. i still need to add a repackage function to faultreiber.
Diffstat (limited to 'safercpp')
-rw-r--r-- | safercpp/safercpp-arr.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/safercpp/safercpp-arr.cpp b/safercpp/safercpp-arr.cpp index 99bd3a5..0cae89b 100644 --- a/safercpp/safercpp-arr.cpp +++ b/safercpp/safercpp-arr.cpp @@ -6836,6 +6836,7 @@ class MyPPCallbacks : public PPCallbacks public: MyPPCallbacks(Rewriter& Rewriter_ref, CompilerInstance &CI_ref) : m_Rewriter_ref(Rewriter_ref), CI(CI_ref) {} +#if __clang_major__ <= 6 void InclusionDirective( SourceLocation hash_loc, const Token &include_token, @@ -6846,6 +6847,19 @@ public: StringRef search_path, StringRef relative_path, const clang::Module *imported) override { +#elif __clang_major__ >= 8 + virtual void InclusionDirective ( + SourceLocation hash_loc, + const Token &include_token, + StringRef file_name, + bool is_angled, + CharSourceRange filename_range, + const FileEntry *file, + StringRef search_path, + StringRef relative_path, + const clang::Module *imported, + SrcMgr::CharacteristicKind file_type) override { +#endif if (current_fii_shptr()) { if (!(current_fii_shptr()->m_first_include_directive_loc_is_valid)) { |