Remove using namespace ov::op and ov::pass::pattern directives to fix UNITY build conflicts#33134
Merged
mryzhov merged 15 commits intoopenvinotoolkit:masterfrom Jan 15, 2026
Merged
Conversation
mryzhov
reviewed
Dec 15, 2025
src/common/transformations/src/transformations/common_optimizations/adaptive_pool_to_reduce.cpp
Show resolved
Hide resolved
mryzhov
approved these changes
Dec 15, 2025
CuriousPanCake
approved these changes
Dec 15, 2025
41d889a to
42513d4
Compare
praasz
reviewed
Dec 22, 2025
Contributor
praasz
left a comment
There was a problem hiding this comment.
Added comments to consider
...ommon/transformations/src/transformations/common_optimizations/align_eltwise_input_ranks.cpp
Outdated
Show resolved
Hide resolved
src/common/transformations/src/transformations/common_optimizations/augru_cell_fusion.cpp
Outdated
Show resolved
Hide resolved
src/common/transformations/src/transformations/common_optimizations/augru_cell_fusion.cpp
Outdated
Show resolved
Hide resolved
...n/transformations/src/transformations/common_optimizations/eliminate_loop_inputs_outputs.cpp
Outdated
Show resolved
Hide resolved
src/common/transformations/src/transformations/common_optimizations/fuse_moe_experts.cpp
Outdated
Show resolved
Hide resolved
src/common/transformations/src/transformations/common_optimizations/glu_fusion.cpp
Outdated
Show resolved
Hide resolved
...mmon/transformations/src/transformations/common_optimizations/group_normalization_fusion.cpp
Outdated
Show resolved
Hide resolved
src/common/transformations/src/transformations/common_optimizations/gru_cell_fusion.cpp
Outdated
Show resolved
Hide resolved
src/common/transformations/src/transformations/common_optimizations/gru_cell_fusion.cpp
Outdated
Show resolved
Hide resolved
src/common/transformations/src/transformations/common_optimizations/matmul_experts_fusion.cpp
Outdated
Show resolved
Hide resolved
praasz
approved these changes
Jan 13, 2026
src/common/transformations/src/transformations/common_optimizations/fq_reshape_fusion.cpp
Outdated
Show resolved
Hide resolved
src/common/transformations/src/transformations/common_optimizations/glu_fusion.cpp
Outdated
Show resolved
Hide resolved
almilosz
approved these changes
Jan 14, 2026
praasz
requested changes
Jan 14, 2026
…irectives to fix UNITY build conflicts
… after UNITY build fix
praasz
approved these changes
Jan 15, 2026
github-merge-queue bot
pushed a commit
that referenced
this pull request
Jan 15, 2026
…x UNITY build conflicts (#33134) Add using declarations and namespace aliases to improve code readability after removing using namespace directives. ### Details: Remove using namespace directives that cause name conflicts in UNITY builds and replace them with explicit using declarations and namespace aliases for improved readability. - Remove using namespace ov::op and using namespace ov::pass::pattern directives - Add specific using declarations (e.g., using ov::pass::pattern::wrap_type;) only when a construct is used 2+ times in a file - Add namespace aliases (e.g., namespace v0 = ov::op::v0;) only when a version namespace is used 2+ times in a file - Replace fully qualified names with short forms where declarations are added ### Tickets: - 177276
Merged
via the queue into
openvinotoolkit:master
with commit Jan 15, 2026
7859e26
218 of 222 checks passed
Naseer-010
pushed a commit
to Naseer-010/openvino
that referenced
this pull request
Feb 18, 2026
…x UNITY build conflicts (openvinotoolkit#33134) Add using declarations and namespace aliases to improve code readability after removing using namespace directives. ### Details: Remove using namespace directives that cause name conflicts in UNITY builds and replace them with explicit using declarations and namespace aliases for improved readability. - Remove using namespace ov::op and using namespace ov::pass::pattern directives - Add specific using declarations (e.g., using ov::pass::pattern::wrap_type;) only when a construct is used 2+ times in a file - Add namespace aliases (e.g., namespace v0 = ov::op::v0;) only when a version namespace is used 2+ times in a file - Replace fully qualified names with short forms where declarations are added ### Tickets: - 177276
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add using declarations and namespace aliases to improve code readability after removing using namespace directives.
Details:
Remove using namespace directives that cause name conflicts in UNITY builds and replace them with explicit using declarations and namespace aliases for improved readability.
Tickets: