[clang-tools-extra] ba7b6f4 - [docs][pp-trace] Remove FileNotFound callback

via cfe-commits cfe-commits at lists.llvm.org
Wed May 11 03:14:39 PDT 2022


Author: CHIANG, YU-HSUN (Tommy Chiang, oToToT)
Date: 2022-05-11T18:14:25+08:00
New Revision: ba7b6f46b37b1926552e96bd102b995f6d36de04

URL: https://github.com/llvm/llvm-project/commit/ba7b6f46b37b1926552e96bd102b995f6d36de04
DIFF: https://github.com/llvm/llvm-project/commit/ba7b6f46b37b1926552e96bd102b995f6d36de04.diff

LOG: [docs][pp-trace] Remove FileNotFound callback

`FileNotFound` preprocessor callback is removed in D119708.
We should also remove it from the documentation.

Reviewed by: jansvoboda11

Differential Revision: https://reviews.llvm.org/D125258

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/docs/pp-trace.rst b/clang-tools-extra/docs/pp-trace.rst
index 20556cdc697e4..84a5ae6ed6c60 100644
--- a/clang-tools-extra/docs/pp-trace.rst
+++ b/clang-tools-extra/docs/pp-trace.rst
@@ -49,7 +49,6 @@ Command Line Options
 
   * FileChanged
   * FileSkipped
-  * FileNotFound
   * InclusionDirective
   * moduleImport
   * EndOfMainFile
@@ -200,26 +199,6 @@ Example:::
     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
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 


        


More information about the cfe-commits mailing list