llvm/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
_themes/llvm-theme
ArrayComposition.md
BijectiveInternalNameUniquing.md
C++17.md
C++style.md
Calls.md
Character.md
CMakeLists.txt
compiler_driver.png
conf.py
ControlFlowGraph.md
Directives.md
DoConcurrent.md
doxygen-mainpage.dox
doxygen.cfg.in
Extensions.md [flang] Accept TYPE(intrinsic type) in declarations only for non-extension type 2022-04-14 18:19:37 -07:00
f2018-grammar.md
FIRArrayOperations.md [fir] Add array operations documentation 2022-01-21 09:56:54 +01:00
flang-c-style.el
FlangDriver.md [flang] Make the plugin API independent of the driver internals 2022-04-22 09:18:04 +00:00
FortranFeatureHistory.md
FortranForCProgrammers.md
FortranIR.md
FortranLLVMTestSuite.md
frontend_driver.png
GettingInvolved.md Replace links to archived mailing lists by links to Discourse forums 2022-03-23 10:10:20 -04:00
ImplementingASemanticCheck.md
index.md [flang][docs] Update the top "doc" page 2022-02-24 10:41:53 +00:00
Intrinsics.md
IORuntimeInternals.md
LabelResolution.md
ModFiles.md
OpenMP-4.5-grammar.md
OpenMP-semantics.md
OptionComparison.md
Overview.md
ParserCombinators.md
Parsing.md [flang] Add nonfatal message classes 2022-03-08 11:40:45 -08:00
Preprocessing.md
PullRequestChecklist.md
ReleaseNotes.md
RuntimeDescriptor.md
RuntimeTypeInfo.md
Semantics.md