From ba7b6f46b37b1926552e96bd102b995f6d36de04 Mon Sep 17 00:00:00 2001 From: "CHIANG, YU-HSUN (Tommy Chiang, oToToT)" Date: Tue, 10 May 2022 03:10:58 +0800 Subject: [PATCH] [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 --- clang-tools-extra/docs/pp-trace.rst | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/clang-tools-extra/docs/pp-trace.rst b/clang-tools-extra/docs/pp-trace.rst index 20556cd..84a5ae6 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 `_ 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 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 `_ Callback ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- 2.7.4