This repository was archived by the owner on Dec 5, 2025. It is now read-only.
Шпынов Никита. Лабораторная работа №1 - ClangAST. Вариант №2#252
Open
NShpNov wants to merge 1 commit into
Open
Шпынов Никита. Лабораторная работа №1 - ClangAST. Вариант №2#252NShpNov wants to merge 1 commit into
NShpNov wants to merge 1 commit into
Conversation
Comment on lines
+63
to
+66
| bool ParseArgs(const CompilerInstance &CI, | ||
| const std::vector<std::string> &args) override { | ||
| return true; | ||
| } |
Collaborator
There was a problem hiding this comment.
Please, add option --help
Collaborator
There was a problem hiding this comment.
Please add a test to the global scope extern int g_value;, but don't use its variable
aobolensk
approved these changes
Oct 5, 2025
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Данный плагин проходит по всем объявлениям переменных и параметров функции. Для каждого проверяет, используется ли переменная, а также смотрит на наличие атрибута [[maybe_unused]]. Если оба условия не выполнены, то он помечает переменную этим атрибутом.