OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:getAs
(Results
1 - 10
of
10
) sorted by relevancy
/src/external/apache2/llvm/dist/llvm/include/llvm/Support/
Chrono.h
119
template <typename AsPeriod> static InternalRep
getAs
(const Dur &D) {
128
return {
getAs
<std::nano>(D), "ns"};
130
return {
getAs
<std::micro>(D), "us"};
132
return {
getAs
<std::milli>(D), "ms"};
134
return {
getAs
<std::ratio<1>>(D), "s"};
136
return {
getAs
<std::ratio<60>>(D), "m"};
138
return {
getAs
<std::ratio<3600>>(D), "h"};
/src/external/apache2/llvm/dist/clang/include/clang/AST/
CanonicalType.h
106
/// The
getAs
() function is typically used to try to downcast to a
111
/// if (CanQual<PointerType> Ptr = T->
getAs
<PointerType>()) {
120
template<typename U> CanProxy<U>
getAs
() const;
252
/// if (CanQual<PointerType> Ptr = T->
getAs
<PointerType>()) { ... }
258
template<typename U> CanProxy<U>
getAs
() const {
259
return this->Stored.template
getAs
<U>();
342
/// canonical type or as the result of the @c CanQual<T>::
getAs
member
626
if (CanQual<ReferenceType> RefType =
getAs
<ReferenceType>())
653
CanProxy<U> CanQual<T>::
getAs
() const {
655
"ArrayType cannot be used with
getAs
!");
[
all
...]
TypeLoc.h
56
/// A client should use the TypeLoc subclasses through castAs()/
getAs
()
88
T
getAs
() const {
327
if (QualifiedTypeLoc Loc =
getAs
<QualifiedTypeLoc>())
2550
if (auto PTL = Cur.
getAs
<ParenTypeLoc>())
2552
else if (auto ATL = Cur.
getAs
<AttributedTypeLoc>())
2554
else if (auto ETL = Cur.
getAs
<ElaboratedTypeLoc>())
2556
else if (auto ATL = Cur.
getAs
<AdjustedTypeLoc>())
2558
else if (auto MQL = Cur.
getAs
<MacroQualifiedTypeLoc>())
2563
return Cur.
getAs
<T>();
/src/external/apache2/llvm/dist/clang/include/clang/Sema/
Ownership.h
122
// FIXME: Doesn't work? return P.
getAs
< void >();
170
template <typename T> T *
getAs
() { return static_cast<T*>(get()); }
216
template <typename T> T *
getAs
() { return static_cast<T*>(get()); }
/src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
SVals.h
111
Optional<T>
getAs
() const {
MemRegion.h
171
template<typename RegionTy> const RegionTy*
getAs
() const;
537
if (T->
getAs
<ObjCObjectType>())
1150
assert((!Idx.
getAs
<nonloc::ConcreteInt>() ||
1286
const RegionTy* MemRegion::
getAs
() const {
/src/external/apache2/llvm/dist/clang/include/clang/Analysis/
CFG.h
109
Optional<T>
getAs
() const {
1396
if (Optional<CFGStmt> stmt = BI->
getAs
<CFGStmt>())
ProgramPoint.h
151
Optional<T>
getAs
() const {
/src/external/apache2/llvm/dist/clang/utils/TableGen/
ASTTableGen.h
114
NodeClass
getAs
() const {
/src/external/apache2/llvm/dist/clang/lib/AST/
Type.cpp
498
while (const auto *PT = T->
getAs
<ParenType>())
524
template <> const TypedefType *Type::
getAs
() const {
528
template <> const TemplateSpecializationType *Type::
getAs
() const {
532
template <> const AttributedType *Type::
getAs
() const {
558
if (const auto *RT =
getAs
<RecordType>())
564
if (const auto *RT =
getAs
<RecordType>())
570
if (const auto *RT =
getAs
<RecordType>())
576
if (const auto *RT =
getAs
<RecordType>())
582
if (const auto *RT =
getAs
<RecordType>()) {
590
if (const auto *PT =
getAs
<PointerType>()
[
all
...]
Completed in 27 milliseconds
Indexes created Mon Aug 03 00:25:36 UTC 2026