Skip to content

Commit

Permalink
Add a few more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nchaimov committed Dec 6, 2024
1 parent 205ace6 commit 9f8ea63
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/salt_instrument_flang_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ limitations under the License.

/* SALT-FM Flang Fortran Instrumentor Plugin */

// See https://flang.llvm.org/docs/FlangDriver.html#frontend-driver-plugins
// for documentation of the Flang frontend plugin interface

#include "flang/Frontend/FrontendActions.h"
#include "flang/Frontend/FrontendPluginRegistry.h"
#include "flang/Parser/dump-parse-tree.h"
Expand All @@ -37,6 +40,7 @@ class SaltInstrumentAction : public PluginParseTreeAction {
// Pre occurs when first visiting a node.
// Post occurs when returning from the node's children.
// See https://flang.llvm.org/docs/Parsing.html for information on the parse tree.
// Parse tree types are defined in: include/flang/Parser/parse-tree.h
// There are three types of parse tree nodes:
// Wrappers, with a single data member, always named `v`.
// Tuples, encapsulating multiple values in a data member named `t` of type std::tuple.
Expand Down

0 comments on commit 9f8ea63

Please sign in to comment.