secilc/cil: Fix name resolution for macro calls
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 2 repliesIn review
- v13 patches 1 replySuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | libsepol/cil: Make name resolution in macros work as documentedlibsepol/ | +12 | 0 replies | |
| 2/5 | libsepol/cil: Do not add NULL node when inserting key into symtablibsepol/ | +4 | 0 replies | |
| 3/5 | libsepo/cil: Refactor macro call resolutionlibsepol/ libsepol/ | +303 | 0 replies | |
| 4/5 | libsepol/cil: Do not resolve arguments to declarations in the calllibsepol/ | +27 | 0 replies | |
| 5/5 | secilc/docs: Relocate and reword macro call name resolution ordersecilc/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH 0/5 v2] secilc/cil: Fix name resolution for macro calls
This patch series fixes name resolution within expanded macro calls and with call arguments.
The first patch is same as in v1.
Patches 2-4 replace patch 2 in v1. The original way of fixing name resolution of call arguments did not work if a disabled optional forced a reset.
Patch 5 is the same as patch 3 in v1.
James Carter (5):
libsepol/cil: Make name resolution in macros work as documented libsepol/cil: Do not add NULL node when inserting key into symtab libsepo/cil: Refactor macro call resolution libsepol/cil: Do not resolve arguments to declarations in the call secilc/docs: Relocate and reword macro call name resolution order
libsepol/cil/src/cil_internal.h | 1 - libsepol/cil/src/cil_resolve_ast.c | 635 ++++++++++++----------- libsepol/cil/src/cil_symtab.c | 8 +- secilc/docs/cil_call_macro_statements.md | 24 +- 4 files changed, 354 insertions(+), 314 deletions(-)
Signature · 1 line
2.26.3