Skip to content

Foundation classes - Include brackets type fix#635

Merged
dpasukhi merged 1 commit intoOpen-Cascade-SAS:IRfrom
dpasukhi:header_validation
Jul 22, 2025
Merged

Foundation classes - Include brackets type fix#635
dpasukhi merged 1 commit intoOpen-Cascade-SAS:IRfrom
dpasukhi:header_validation

Conversation

@dpasukhi
Copy link
Copy Markdown
Member

@dpasukhi dpasukhi commented Jul 21, 2025

  • Updates include statements to use angle brackets for foundation class headers

Validate the breckets for publick header files to be in <>
@dpasukhi dpasukhi requested a review from Copilot July 21, 2025 20:33
@dpasukhi dpasukhi self-assigned this Jul 21, 2025
@dpasukhi dpasukhi added 2. Bug Something isn't working 1. Foundation Classes Containers, system calls wrappers, smart pointers and other low level of OCCT code labels Jul 21, 2025
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR standardizes the include statement formatting for public header files by changing from quoted includes ("header.h") to angle bracket includes (<header.h>). This follows the common C++ convention where angle brackets are used for system/library headers and quoted includes are used for local project files.

Key Changes:

  • Updates include statements to use angle brackets for foundation class headers
  • Ensures consistent formatting across TKernel collection classes
  • Applies the same formatting to FlexLexer header in STEP processing code

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
TCollection_AsciiString.lxx Changes include format for TCollection_AsciiString.hxx
NCollection_UtfString.hxx Updates include for NCollection_UtfString.lxx template implementation
NCollection_UtfIterator.hxx Updates include for NCollection_UtfIterator.lxx template implementation
NCollection_String.hxx Changes include format for NCollection_UtfString.hxx
NCollection_DynamicArray.hxx Updates includes for NCollection_Allocator.hxx and NCollection_BasePointerVector.hxx
step.tab.hxx Changes include format for FlexLexer.h

Comment thread src/FoundationClasses/TKernel/NCollection/NCollection_UtfString.hxx
@dpasukhi dpasukhi linked an issue Jul 21, 2025 that may be closed by this pull request
@dpasukhi dpasukhi requested a review from AtheneNoctuaPt July 22, 2025 09:41
@dpasukhi dpasukhi added this to the Release 8.0 milestone Jul 22, 2025
@github-project-automation github-project-automation bot moved this from Todo to Integration in Maintenance Jul 22, 2025
@dpasukhi dpasukhi merged commit 9219a31 into Open-Cascade-SAS:IR Jul 22, 2025
45 of 46 checks passed
@dpasukhi dpasukhi deleted the header_validation branch July 22, 2025 12:10
@github-project-automation github-project-automation bot moved this from Integration to Done in Maintenance Jul 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1. Foundation Classes Containers, system calls wrappers, smart pointers and other low level of OCCT code 2. Bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

VCPKG : include error, on IntCurve_IntConicCurveGen.lxx using vcpkg

3 participants