Lines Matching refs:artifact
3912 /// Getter of the canonical type of the artifact designated by a
3964 // The location of an artifact as seen from its input by the
3965 // artifact reader. This might be different from the source
3966 // location advertised by the original emitter of the artifact
3969 // Flags if the current ABI artifact is artificial (i.e, *NOT*
3976 /// @param e the environment in which the ABI artifact was created.
3979 /// instance of ABI artifact.
4042 /// @param the environment the current ABI artifact is constructed
4081 /// an ABI artifact.
4084 /// artifact.
4092 /// an ABI artifact.
4095 /// artifact.
4169 /// Getter of the environment of the current ABI artifact.
4171 /// @return the environment of the artifact.
4194 /// Getter of the artificial location of the artifact.
4212 /// Test if the current ABI artifact carries an artificial location.
4214 /// @return true iff the current ABI artifact carries an artificial location.
4222 /// Get the @ref corpus this ABI artifact belongs to.
4224 /// @return the corpus this ABI artifact belongs to, or nil if it
4236 /// Get the @ref corpus this ABI artifact belongs to.
4238 /// @return the corpus this ABI artifact belongs to, or nil if it
4244 /// Set the @ref translation_unit this ABI artifact belongs to.
4246 /// Note that adding an ABI artifact to a containining on should
4253 /// Get the @ref translation_unit this ABI artifact belongs to.
4255 /// @return the translation unit this ABI artifact belongs to, or nil
4261 /// Get the @ref translation_unit this ABI artifact belongs to.
4263 /// @return the translation unit this ABI artifact belongs to, or nil
4269 /// Traverse the the ABI artifact.
4272 /// artifact.
4611 /// the one emitted by the original emitter of the ABI artifact, for
4612 /// instance, if the ABI artifact comes from debug info, then the
4616 /// element describing an artifact is the non-artificial location.
5102 /// @param l the first artifact of the comparison.
5104 /// @param r the second artifact of the comparison.
7917 /// @param l the first artifact of the comparison.
7919 /// @param r the second artifact of the comparison.
8330 /// Build and return a copy of the name of an ABI artifact that is
8333 /// @param tod the ABI artifact to get the name for.
8362 /// Build and return a copy of the name of an ABI artifact that is
8365 /// @param tod the ABI artifact to get the name for.
8915 /// artifact that could be either a type of a decl.
8917 /// param tod the ABI artifact to consider.
8924 /// @return a copy of the pretty representation of an ABI artifact
8943 /// artifact that could be either a type of a decl.
8945 /// param tod the ABI artifact to consider.
8952 /// @return a copy of the pretty representation of an ABI artifact
9288 /// Otherwise, this just shows the name of the artifact as returned by
9291 /// @param artifact the artifact to show a debugging representation of.
9293 /// @return a debugging string representation of @p artifact.
9295 get_debug_representation(const type_or_decl_base* artifact)
9297 if (!artifact)
9300 class_or_union * c = is_class_or_union_type(artifact);
9361 else if (const enum_type_decl* e = is_enum_type(artifact))
9387 return artifact->get_pretty_representation(/*internal=*/true,
9455 /// Emit a textual representation of an artifact to std error stream
9459 /// GDB to help make sense of a given ABI artifact.
9461 /// @param artifact the ABI artifact to emit the debugging
9464 /// @return the artifact @p artifact.
9466 debug(const type_or_decl_base* artifact)
9468 std::cerr << get_debug_representation(artifact) << std::endl;
9469 return const_cast<type_or_decl_base*>(artifact);
9472 /// Emit a textual representation of an artifact to std error stream
9476 /// GDB to help make sense of a given ABI artifact.
9478 /// @param artifact the ABI artifact to emit the debugging
9481 /// @return the artifact @p artifact.
9483 debug(const type_base* artifact)
9485 debug(static_cast<const type_or_decl_base*>(artifact));
9486 return const_cast<type_base*>(artifact);
9489 /// Emit a textual representation of an artifact to std error stream
9493 /// GDB to help make sense of a given ABI artifact.
9495 /// @param artifact the ABI artifact to emit the debugging
9498 /// @return the artifact @p artifact.
9500 debug(const decl_base* artifact)
9502 debug(static_cast<const type_or_decl_base*>(artifact));
9503 return const_cast<decl_base*>(artifact);
9511 /// @param l the first ABI artifact to consider in the comparison.
9513 /// @param r the second ABI artifact to consider in the comparison.
9527 /// By looking at the language of the TU a given ABI artifact belongs
9532 /// @param artifact the ABI artifact to consider.
9536 odr_is_relevant(const type_or_decl_base& artifact)
9539 artifact.get_translation_unit()->get_language();
9845 /// Test whether an ABI artifact is a @ref function_decl.
9855 /// Test if an ABI artifact is a declaration.
9857 /// @param d the artifact to consider.
9867 // The artifact is a decl-only (like a function or a
9876 // artifact is a type which has a declaration. In that case,
9884 /// Test if an ABI artifact is a declaration.
9886 /// @param d the artifact to consider.
9894 /// Test if an ABI artifact is a declaration.
9898 /// @param d the artifact to consider.
9905 /// Test if an ABI artifact is a declaration.
9909 /// @param d the artifact to consider.
9920 /// @return true if the artifact is a type, false otherwise.
9933 /// @return true if the artifact is a type, false otherwise.
9948 /// @return true if the artifact is a type, false otherwise.
14582 /// @param l the first artifact of the comparison.
14584 /// @param r the second artifact of the comparison.
15099 /// @param l the first artifact of the comparison.
15101 /// @param r the second artifact of the comparison.
15356 /// @param l the first artifact of the comparison.
15358 /// @param r the second artifact of the comparison.
15745 /// @param l the first artifact of the comparison.
15747 /// @param r the second artifact of the comparison.
16227 /// @param l the first artifact of the comparison.
16229 /// @param r the second artifact of the comparison.
16609 /// @param l the first artifact of the comparison.
16611 /// @param r the second artifact of the comparison.
17180 /// @param l the first artifact of the comparison.
17182 /// @param r the second artifact of the comparison.
17493 /// @return the pretty representation of the ABI artifact.
17504 /// @param l the first artifact of the comparison.
17506 /// @param r the second artifact of the comparison.
18123 /// @param l the first artifact of the comparison.
18125 /// @param r the second artifact of the comparison.
18608 /// @param l the first artifact of the comparison.
18610 /// @param r the second artifact of the comparison.
18922 /// @param l the first artifact of the comparison.
18924 /// @param r the second artifact of the comparison.
20425 /// @param l the first artifact of the comparison.
20427 /// @param r the second artifact of the comparison.
20877 /// @param l the first artifact of the comparison.
20879 /// @param r the second artifact of the comparison.
21864 /// @param c an artifact that belongs to the environment in which the
21876 /// @param c an artifact that belongs to the environment in which the
21887 /// @param l the first artifact of the comparison.
21889 /// @param r the second artifact of the comparison.
22857 /// @param l the first artifact of the comparison.
22859 /// @param r the second artifact of the comparison.
23506 /// @param l the first artifact of the comparison.
23508 /// @param r the second artifact of the comparison.
23988 /// Test if an ABI artifact is a class base specifier.
23990 /// @param tod the ABI artifact to consider.
24001 /// Test if an ABI artifact is a class base specifier.
24003 /// @param tod the ABI artifact to consider.
24660 /// @param l the first artifact of the comparison.
24662 /// @param r the second artifact of the comparison.
25715 /// Hash an ABI artifact that is either a type or a decl.
25720 /// Note that if the artifact is a type and if it has a canonical
25727 /// If the artifact is a decl, then a combination of the hash of its
25797 /// Hash an ABI artifact that is either a type.
25802 /// Note that if the type artifact has a canonical type, the hash
25816 /// Hash an ABI artifact that is either a type of a decl.
25818 /// @param tod the ABI artifact to hash.
25820 /// @return the hash value of the ABI artifact.