Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable the misc-use-anonymous-namespace clang-tidy check #7661

Merged
merged 18 commits into from
Jun 24, 2023

Conversation

steven-johnson
Copy link
Contributor

No description provided.

@@ -12,10 +12,12 @@
// Embeds a binary blob (from stdin) in a C++ source array of unsigned
// chars. Similar to the xxd utility.

static int usage() {
namespace {
int usage() {
Copy link
Member

Choose a reason for hiding this comment

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

Weird that this one was static to begin with.

@steven-johnson steven-johnson marked this pull request as ready for review June 23, 2023 23:46
Base automatically changed from srj/fmt-tidy-16 to main June 24, 2023 01:34
@steven-johnson steven-johnson merged commit 1e3431c into main Jun 24, 2023
@steven-johnson steven-johnson deleted the srj/misc-use-anonymous-namespace branch June 24, 2023 01:35
ardier pushed a commit to ardier/Halide-mutation that referenced this pull request Mar 3, 2024
* Upgrade clang-format and clang-tidy to use v16

(Skipping over 15 entirely in favor of the newest stable version)

* Update presubmit.yml

* Update .clang-tidy

* Update .clang-tidy

* fixes

* Update run-clang-tidy.sh

* Update .clang-tidy

* Update .clang-tidy

* fixes

* Update .clang-tidy

* Update PyHalide.cpp

* Update run-clang-tidy.sh

* Update CodeGen_Vulkan_Dev.cpp

* Enable the misc-use-anonymous-namespace clang-tidy check

Basically just says "don't use static"

* Update Generator.h

* Update Util.cpp

* Update JITModule.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants