clang-tools 22.0.0git
NSInvocationArgumentLifetimeCheck.cpp File Reference
#include "NSInvocationArgumentLifetimeCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/ComputeDependence.h"
#include "clang/AST/Decl.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ExprObjC.h"
#include "clang/AST/Type.h"
#include "clang/AST/TypeLoc.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/ASTMatchers/ASTMatchersMacros.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Lex/Lexer.h"
#include "llvm/ADT/StringRef.h"
#include <optional>

Go to the source code of this file.

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
namespace  clang::tidy
namespace  clang::tidy::objc

Functions

static std::optional< FixItHint > clang::tidy::objc::fixItHintReplacementForOwnershipString (StringRef Text, CharSourceRange Range, StringRef Ownership)
static std::optional< FixItHint > clang::tidy::objc::fixItHintForVarDecl (const VarDecl *VD, const SourceManager &SM, const LangOptions &LangOpts)

Variables

static constexpr StringRef clang::tidy::objc::WeakText = "__weak"
static constexpr StringRef clang::tidy::objc::StrongText = "__strong"
static constexpr StringRef clang::tidy::objc::UnsafeUnretainedText = "__unsafe_unretained"