[PATCH] D125258: [docs][pp-trace] Remove FileNotFound callback

Tommy Chiang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 9 12:16:47 PDT 2022


oToToT created this revision.
oToToT added a reviewer: jansvoboda11.
Herald added a project: All.
oToToT requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.

`FileNotFound` preprocessor callback is removed in D119708 <https://reviews.llvm.org/D119708>.
We should also remove it from the documentation.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D125258

Files:
  clang-tools-extra/docs/pp-trace.rst


Index: clang-tools-extra/docs/pp-trace.rst
===================================================================
--- clang-tools-extra/docs/pp-trace.rst
+++ clang-tools-extra/docs/pp-trace.rst
@@ -49,7 +49,6 @@
 
   * FileChanged
   * FileSkipped
-  * FileNotFound
   * InclusionDirective
   * moduleImport
   * EndOfMainFile
@@ -200,26 +199,6 @@
     FilenameTok: "filename.h"
     FileType: C_User
 
-`FileNotFound <https://clang.llvm.org/doxygen/classclang_1_1PPCallbacks.html#a3045151545f987256bfa8d978916ef00>`_ Callback
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-FileNotFound is called when an inclusion directive results in a file-not-found error.
-
-Argument descriptions:
-
-==============   ==================================================   ============================== =====================================================================================================================================
-Argument Name    Argument Value Syntax                                Clang C++ Type                 Description
-==============   ==================================================   ============================== =====================================================================================================================================
-FileName         "(file)"                                             StringRef                      The name of the file being included, as written in the source code.
-RecoveryPath     (path)                                               SmallVectorImpl<char>          If this client indicates that it can recover from this missing file, the client should set this as an additional header search patch.
-==============   ==================================================   ============================== =====================================================================================================================================
-
-Example:::
-
-  - Callback: FileNotFound
-    FileName: "/path/filename.h"
-    RecoveryPath:
-
 `InclusionDirective <https://clang.llvm.org/doxygen/classclang_1_1PPCallbacks.html#a557d9738c329793513a6f57d6b60de52>`_ Callback
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125258.428157.patch
Type: text/x-patch
Size: 2354 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220509/bee98fd1/attachment.bin>


More information about the cfe-commits mailing list