Skip to content

Use __cplusplus version check, and minor improve on the bitmask. #450

Use __cplusplus version check, and minor improve on the bitmask.

Use __cplusplus version check, and minor improve on the bitmask. #450

Workflow file for this run

# Sam note: this action is from: https://github.com/jidicula/clang-format-action
name: clang-format
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- check: 'include'
- check: 'src'
- check: 'utilities'
exclude: '(old_files|qccpack)' # Exclude file paths containing "old_files" or "qcc_pack"
steps:
- uses: actions/checkout@v2
- name: Run clang-format style check for C/C++ programs.
uses: jidicula/[email protected]
with:
clang-format-version: '13'
check-path: ${{ matrix.path['check'] }}
exclude-regex: ${{ matrix.path['exclude'] }}
fallback-style: 'Chromium' # optional