|
|
|||
File indexing completed on 2026-05-10 08:37:01
0001 //===- Redeclaration.h - Redeclarations--------------------------*- C++ -*-===// 0002 // 0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 0004 // See https://llvm.org/LICENSE.txt for license information. 0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 0006 // 0007 //===----------------------------------------------------------------------===// 0008 // 0009 // This file defines RedeclarationKind enum. 0010 // 0011 //===----------------------------------------------------------------------===// 0012 0013 #ifndef LLVM_CLANG_SEMA_REDECLARATION_H 0014 #define LLVM_CLANG_SEMA_REDECLARATION_H 0015 0016 /// Specifies whether (or how) name lookup is being performed for a 0017 /// redeclaration (vs. a reference). 0018 enum class RedeclarationKind { 0019 /// The lookup is a reference to this name that is not for the 0020 /// purpose of redeclaring the name. 0021 NotForRedeclaration = 0, 0022 /// The lookup results will be used for redeclaration of a name, 0023 /// if an entity by that name already exists and is visible. 0024 ForVisibleRedeclaration, 0025 /// The lookup results will be used for redeclaration of a name 0026 /// with external linkage; non-visible lookup results with external linkage 0027 /// may also be found. 0028 ForExternalRedeclaration 0029 }; 0030 0031 #endif // LLVM_CLANG_SEMA_REDECLARATION_H
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|