clang 22.0.0git
CocoaConventions.h
Go to the documentation of this file.
1/===- CocoaConventions.h - Special handling of Cocoa conventions -*- C++ -*--/
2/
3/ Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4/ See https://llvm.org/LICENSE.txt for license information.
5/ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6/
7/===----------------------------------------------------------------------===/
8/
9/ This file implements cocoa naming convention analysis.
10/
11/===----------------------------------------------------------------------===/
12
13#ifndef LLVM_CLANG_ANALYSIS_DOMAINSPECIFIC_COCOACONVENTIONS_H
14#define LLVM_CLANG_ANALYSIS_DOMAINSPECIFIC_COCOACONVENTIONS_H
15
16#include "clang/Basic/LLVM.h"
17#include "llvm/ADT/StringRef.h"
18
19namespace clang {
20class FunctionDecl;
21class QualType;
22
23namespace ento {
24namespace cocoa {
25
26 bool isRefType(QualType RetTy, StringRef Prefix,
27 StringRef Name = StringRef());
28
30
31}
32
33namespace coreFoundation {
35
36 bool followsCreateRule(const FunctionDecl *FD);
37}
38
39}} / end: "clang:ento"
40
41#endif
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified.
Represents a function declaration or definition.
Definition Decl.h:2000
A (possibly-)qualified type.
Definition TypeBase.h:937
bool isCocoaObjectRef(QualType T)
bool isRefType(QualType RetTy, StringRef Prefix, StringRef Name=StringRef())
bool followsCreateRule(const FunctionDecl *FD)
The JSON file list parser is used to communicate input to InstallAPI.
const FunctionProtoType * T

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant