Skip to content

Commit c8f35ea

Browse files
authored
Merge pull request github#11810 from kaspersv/kaspersv/inline-late-pragma
Add inline_late pragma to QL language spec
2 parents 4aa6275 + 9ad572f commit c8f35ea

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/codeql/ql-language-reference/ql-language-specification.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ Various kinds of syntax can have *annotations* applied to them. Annotations are
639639
| "override"
640640
| "query"
641641

642-
argsAnnotation ::= "pragma" "[" ("inline" | "noinline" | "nomagic" | "noopt" | "assume_small_delta") "]"
642+
argsAnnotation ::= "pragma" "[" ("inline" | "inline_late" | "noinline" | "nomagic" | "noopt" | "assume_small_delta") "]"
643643
| "language" "[" "monotonicAggregates" "]"
644644
| "bindingset" "[" (variable ( "," variable)*)? "]"
645645

@@ -692,6 +692,8 @@ The parameterized annotation ``pragma`` supplies compiler pragmas, and may be ap
692692
+===========================+=========+============+===================+=======================+=========+========+=========+=========+
693693
| ``inline`` | | yes | yes | yes | | | | |
694694
+---------------------------+---------+------------+-------------------+-----------------------+---------+--------+---------+---------+
695+
| ``inline_late`` | | | | yes | | | | |
696+
+---------------------------+---------+------------+-------------------+-----------------------+---------+--------+---------+---------+
695697
| ``noinline`` | | yes | yes | yes | | | | |
696698
+---------------------------+---------+------------+-------------------+-----------------------+---------+--------+---------+---------+
697699
| ``nomagic`` | | yes | yes | yes | | | | |
@@ -2069,7 +2071,7 @@ The complete grammar for QL is as follows:
20692071
| "override"
20702072
| "query"
20712073

2072-
argsAnnotation ::= "pragma" "[" ("inline" | "noinline" | "nomagic" | "noopt" | "assume_small_delta") "]"
2074+
argsAnnotation ::= "pragma" "[" ("inline" | "inline_late" | "noinline" | "nomagic" | "noopt" | "assume_small_delta") "]"
20732075
| "language" "[" "monotonicAggregates" "]"
20742076
| "bindingset" "[" (variable ( "," variable)*)? "]"
20752077

0 commit comments

Comments
 (0)