Skip to content

Commit

Permalink
Rename alias_linkage_type to alias_linkage
Browse files Browse the repository at this point in the history
  • Loading branch information
langston-barrett committed Oct 7, 2022
1 parent a914776 commit 275ec30
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion FactGenerator/include/predicates.inc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ GROUP_BEGIN(alias)
PREDICATE(alias, id, alias)
PREDICATE2(alias, name)
PREDICATE2(alias, type)
PREDICATE(alias, linkage, alias_linkage_type)
PREDICATE2(alias, linkage)
PREDICATE2(alias, visibility)
PREDICATE2(alias, aliasee)
GROUP_END(alias)
Expand Down
2 changes: 1 addition & 1 deletion datalog/export/debug-output-extended.dl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
.output aggregate_type (compress=true)
.output alias (compress=true)
.output alias_aliasee (compress=true)
.output alias_linkage_type (compress=true)
.output alias_linkage (compress=true)
.output alias_name (compress=true)
.output alias_type (compress=true)
.output alias_visibility (compress=true)
Expand Down
2 changes: 1 addition & 1 deletion datalog/export/debug-output.dl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
.output aggregate_type (compress=true)
.output alias (compress=true)
.output alias_aliasee (compress=true)
.output alias_linkage_type (compress=true)
.output alias_linkage (compress=true)
.output alias_name (compress=true)
.output alias_type (compress=true)
.output alias_visibility (compress=true)
Expand Down
4 changes: 2 additions & 2 deletions datalog/schema/global.dl
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ local_exec_threadlocal_mode("thread_local(localexec)").
.decl alias_aliasee(x:Alias, y:Constant)
.decl alias_name(x:Alias, name:symbol)
.decl alias_type(x:Alias, type:Type)
.decl alias_linkage_type(x:Alias, link:LinkageType)
.decl alias_linkage(x:Alias, link:LinkageType)
.decl alias_visibility(x:Alias, vis:Visibility)

// For constraints
Expand All @@ -154,7 +154,7 @@ schema_invalid_alias(Var, __FILE__, __LINE__) :-

schema_invalid_alias(Var, __FILE__, __LINE__) :-
schema_sanity(),
alias_linkage_type(Var, Link),
alias_linkage(Var, Link),
!private_linkage_type(Link),
!linker_private_linkage_type(Link),
!linker_private_weak_linkage_type(Link),
Expand Down

0 comments on commit 275ec30

Please sign in to comment.