Lines Matching refs:Unit
84 * \brief A single translation unit, which resides in an index.
176 * is one that belongs in the translation unit itself and not in a precompiled
177 * header that was used by the translation unit. If zero, all declarations
284 * \brief A particular source file that is part of a translation unit.
325 * \brief Retrieve a file handle within the given translation unit.
327 * \param tu the translation unit
331 * \returns the file handle for the named file in the translation unit \p tu,
332 * or a NULL file handle if the file was not a part of this translation unit.
362 * unit.
391 * the same translation unit, refer to exactly the same point in the source
402 * in a particular translation unit.
410 * in a particular translation unit.
423 * the corresponding translation unit.
768 * translation unit.
770 CINDEX_LINKAGE unsigned clang_getNumDiagnostics(CXTranslationUnit Unit);
773 * \brief Retrieve a diagnostic associated with the given translation unit.
775 * \param Unit the translation unit to query.
781 CINDEX_LINKAGE CXDiagnostic clang_getDiagnostic(CXTranslationUnit Unit,
786 * translation unit.
788 * \param Unit the translation unit to query.
791 clang_getDiagnosticSetFromTU(CXTranslationUnit Unit);
1021 * \defgroup CINDEX_TRANSLATION_UNIT Translation unit manipulation
1025 * by reading in a serialized representation of a translation unit.
1031 * \brief Get the original translation unit source file name.
1052 * \param CIdx The index object with which the translation unit will be
1064 * unit is parsed. Note that the following options are ignored: '-c',
1095 * \brief Create a translation unit from an AST file (\c -emit-ast).
1112 * constructing the translation unit.
1116 * \brief Used to indicate that no special translation-unit options are
1134 * \brief Used to indicate that the translation unit is incomplete.
1136 * When a translation unit is considered "incomplete", semantic
1138 * translation unit will be suppressed. For example, this suppresses
1147 * \brief Used to indicate that the translation unit should be built with an
1151 * particular translation unit is likely to be reparsed many times
1163 * \brief Used to indicate that the translation unit should cache some
1173 * \brief Used to indicate that the translation unit will be serialized with
1201 * unit.
1216 * unit that is being edited.
1219 * to indicate that the translation unit is likely to be reparsed many times,
1244 * \brief Parse the given source file and the translation unit corresponding
1248 * ability to parse a source file into a translation unit that can then be
1253 * \param CIdx The index object with which the translation unit will be
1262 * unit is parsed. Note that the following options are ignored: '-c',
1277 * \param options A bitmask of options that affects how the translation unit
1313 * saving the translation unit.
1324 * unit.
1339 * \brief Indicates that no error occurred while saving a translation unit.
1354 * to save the translation unit.
1356 * Errors that prevent the translation unit from being saved can be
1362 * \brief Indicates that the translation unit to be saved was somehow
1369 * \brief Saves a translation unit into a serialized representation of
1370 * that translation unit on disk.
1372 * Any translation unit that was parsed without error can be saved
1373 * into a file. The translation unit can then be deserialized into a
1375 * if it is an incomplete translation unit that corresponds to a
1379 * \param TU The translation unit to save.
1381 * \param FileName The file to which the translation unit will be saved.
1383 * \param options A bitmask of options that affects how the translation unit
1388 * enumeration. Zero (CXSaveError_None) indicates that the translation unit was
1405 * reparsing the translation unit.
1416 * unit.
1427 * \brief Reparse the source files that produced this translation unit.
1430 * created the given translation unit, for example because those source files
1435 * Reparsing a translation unit invalidates all cursors and source locations
1436 * that refer into that translation unit. This makes reparsing a translation
1437 * unit semantically equivalent to destroying the translation unit and then
1438 * creating a new translation unit with the same command-line arguments.
1440 * unit using this routine.
1442 * \param TU The translation unit whose contents will be re-parsed. The
1443 * translation unit must originally have been built with
1457 * options recommended for most uses, based on the translation unit.
1460 * returned if reparsing was impossible, such that the translation unit is
1471 * \brief Categorizes how memory is being used by a translation unit.
1528 * \brief Return the memory usage of a translation unit. This object
2280 * \brief Cursor that represents the translation unit itself.
2282 * The translation unit cursor exists primarily to act as the root
2283 * cursor for traversing the contents of a translation unit.
2342 * a translation unit.
2352 * clang_getTranslationUnitCursor() produces a cursor for a translation unit,
2354 * translation unit. clang_getCursor() maps from a physical source location
2376 * \brief Retrieve the cursor that represents the given translation unit.
2378 * The translation unit cursor can be used to start traversing the
2379 * various declarations within the given translation unit.
2441 * unit.
2624 * \brief Returns the translation unit that a cursor originated from.
2679 * case, the definition occurs in the translation unit. In general, the
2688 * and the lexical context of the second \c C::f is the translation unit.
2690 * For global declarations, the semantic parent is the translation unit.
2714 * case, the definition occurs in the translation unit. In general, the
2723 * and the lexical context of the second \c C::f is the translation unit.
2726 * the translation unit.
2809 * unit down to the most specific cursor that describes the entity at that
2962 * language of the translation unit from which it came.
3642 * one translation refer to an entity defined in another translation unit.
3733 * unit, but only one of those declarations can also be a
3753 * translation unit, returns a NULL cursor.
3767 * times within a single translation unit. For example, a structure type can
4153 * translation unit, along with a semantic mapping of those tokens to
4225 * \param TU the translation unit whose text is being tokenized.
4232 * freed with clang_disposeTokens() before the translation unit is destroyed.
4262 * \param TU the translation unit that owns the given tokens.
4857 * \brief Perform code completion at a given location in a translation unit.
4887 * \param TU The translation unit in which code-completion should
4888 * occur. The source files for this translation unit need not be
4891 * translation unit may be invalidated by this invocation.
4895 * included in the translation unit.
5055 * \brief Visitor invoked for each file in a translation unit
5060 * a translation unit. The first argument is the file being included, and
5071 * \brief Visit the set of preprocessor inclusions in a translation unit.
5195 * \param TU translation unit containing the file to query.
5567 * \brief Called at the beginning of indexing a translation unit.
5694 * \brief Index the given source file and the translation unit corresponding
5744 * \brief Index the given translation unit via callbacks implemented through