diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTTranslationUnit.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTTranslationUnit.java index 0769b2ab85a..6226a856945 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTTranslationUnit.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTTranslationUnit.java @@ -184,8 +184,9 @@ public interface IASTTranslationUnit extends IASTDeclarationListOwner, IAdaptabl public int getPreprocessorProblemsCount(); /** - * Returns the translation unit's full path. - * @return String representation of path. + * Returns the location of the root file of this translation unit. + * This will be the same value as returned by {@code getFileLocation().getFileName()} + * @see IASTFileLocation#getFileName() */ public String getFilePath();