llvm-project/flang/docs
Andrzej Warzynski 2186a4aea0 [flang] Make the plugin API independent of the driver internals
This patch adds a few new member methods in the `PluginParseTreeAction`
frontend action base class. With these new methods, the plugin API
becomes independent of the driver internals. In particular, plugin
writers no longer require the `CompilerInstance.h` header file to access
various driver data structures (instead, they can use newly added
hooks).

This change is desirable as `CompilerInstance.h` includes various
headers from Clang (both explicitly and implicitly). Some of these
header files are generated at build time (through TableGen) and
including them creates a dependency on some of Clang's build targets.
However, plugins in Flang should not depend on Clang build targets.

Note that plugins might still work fine most of the time, even without
this change and without adding Clang build targets as dependency in
plugin's CMake definition. Indeed, these Clang build targets are often
generated early in the build process. However, that's not guaranteed and
we did notice that on occasions plugins would fail to build.

Differential Revision: https://reviews.llvm.org/D120999
2022-04-22 09:18:04 +00:00
..
_static
_templates [Branch-Rename] Fix some links 2021-02-01 16:43:21 +05:30
_themes/llvm-theme
ArrayComposition.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
BijectiveInternalNameUniquing.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
C++17.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
C++style.md [NFC][flang] Inclusive language: remove instances of master 2021-11-25 15:11:10 -06:00
CMakeLists.txt
Calls.md [docs][flang] Fix typos 2020-09-21 11:05:58 +05:30
Character.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
ControlFlowGraph.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
Directives.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
DoConcurrent.md [flang] Document DO CONCURRENT's problems (NFC) 2020-11-12 15:30:43 -08:00
Extensions.md [flang] Accept TYPE(intrinsic type) in declarations only for non-extension type 2022-04-14 18:19:37 -07:00
FIRArrayOperations.md [fir] Add array operations documentation 2022-01-21 09:56:54 +01:00
FlangDriver.md [flang] Make the plugin API independent of the driver internals 2022-04-22 09:18:04 +00:00
FortranFeatureHistory.md [flang] (NFC) Document Fortran feature history 2021-04-22 11:24:22 -07:00
FortranForCProgrammers.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
FortranIR.md [NFC][flang] Inclusive language: remove instances of master 2021-11-25 15:11:10 -06:00
FortranLLVMTestSuite.md [flang][docs] Minor update to Fortran LLVM Tests-suite docs. 2021-06-28 10:01:29 -05:00
GettingInvolved.md Replace links to archived mailing lists by links to Discourse forums 2022-03-23 10:10:20 -04:00
IORuntimeInternals.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
ImplementingASemanticCheck.md [flang][driver] Delete `f18` (i.e. the old Flang driver) 2021-08-05 12:57:15 +00:00
Intrinsics.md [flang] Added tests for intrinsic function 'team_number()' 2021-10-04 12:35:45 -07:00
LabelResolution.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
ModFiles.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
OpenMP-4.5-grammar.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
OpenMP-semantics.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
OptionComparison.md Update OptionComparison.md 2020-11-20 10:33:21 -08:00
Overview.md [flang][driver] Delete `f18` (i.e. the old Flang driver) 2021-08-05 12:57:15 +00:00
ParserCombinators.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
Parsing.md [flang] Add nonfatal message classes 2022-03-08 11:40:45 -08:00
Preprocessing.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
PullRequestChecklist.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
ReleaseNotes.md [flang] Convert release notes to markdown 2020-09-08 08:47:33 +01:00
RuntimeDescriptor.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
RuntimeTypeInfo.md [flang] Implement derived type description table encoding 2020-12-08 10:26:58 -08:00
Semantics.md [flang] Improve initializer semantics, esp. for component default values 2020-12-07 14:40:41 -08:00
compiler_driver.png [Flang][driver] Update the docs 2021-11-08 17:54:46 +00:00
conf.py [Flang][Docs] Fix warnings when building docs. 2020-11-10 22:24:49 +05:30
doxygen-mainpage.dox [flang] Fix link to old repo location in doxygen mainpage. NFC. 2020-09-07 16:43:08 +01:00
doxygen.cfg.in [NFC] Inclusive Language: change master to main for .chm files 2021-11-08 08:23:04 -06:00
f2018-grammar.md [flang] Correct handling of null pointer initializers 2020-11-18 13:57:25 -08:00
flang-c-style.el [Branch-Rename] Fix some links 2021-02-01 16:43:21 +05:30
frontend_driver.png [Flang][driver] Update the docs 2021-11-08 17:54:46 +00:00
index.md [flang][docs] Update the top "doc" page 2022-02-24 10:41:53 +00:00