Skip to content
This repository has been archived by the owner on Jan 19, 2025. It is now read-only.

Kurdina Julia. Lab 1. Var 3 #65

Merged
merged 10 commits into from
May 12, 2024
Merged

Conversation

JKurdina
Copy link

Added a warning that the function name has "deprecated".

: context(context), withoutClass(withoutClass) {}

bool VisitFunctionDecl(FunctionDecl *FD) {
if (!withoutClass || withoutClass && !FD->isCXXClassMember()) {
Copy link

Choose a reason for hiding this comment

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

|| already means that withoutClass == true

Suggested change
if (!withoutClass || withoutClass && !FD->isCXXClassMember()) {
if (!withoutClass || !FD->isCXXClassMember()) {

@m-ly4 m-ly4 merged commit 2bab5f8 into NN-complr-tech:course-spring-2024 May 12, 2024
5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants