diff options
author | James Dennett <jdennett@google.com> | 2012-06-20 00:56:32 +0000 |
---|---|---|
committer | James Dennett <jdennett@google.com> | 2012-06-20 00:56:32 +0000 |
commit | 853519cd45716c0a0923a7b65ce7aca63cb4dae4 (patch) | |
tree | 66fc96627cf0b79b7fbd3f5c7c4220ddbe16d10c /lib/Lex/HeaderSearch.cpp | |
parent | 206d7db051d509e836e646377d1ecaffb35ca646 (diff) |
Documentation cleanup:
* Escaped # and < characters in Doxygen comments as needed;
* Removed a Doxygen comment in HeaderSearch.cpp that was redundant with
the corresponding comment in the header file.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158776 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/HeaderSearch.cpp')
-rw-r--r-- | lib/Lex/HeaderSearch.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/Lex/HeaderSearch.cpp b/lib/Lex/HeaderSearch.cpp index 3bdd076ab6..30811bb6be 100644 --- a/lib/Lex/HeaderSearch.cpp +++ b/lib/Lex/HeaderSearch.cpp @@ -390,10 +390,10 @@ void HeaderSearch::setTarget(const TargetInfo &Target) { //===----------------------------------------------------------------------===// -/// LookupFile - Given a "foo" or <foo> reference, look up the indicated file, +/// LookupFile - Given a "foo" or \<foo> reference, look up the indicated file, /// return null on failure. isAngled indicates whether the file reference is -/// for system #include's or not (i.e. using <> instead of ""). CurFileEnt, if -/// non-null, indicates where the #including file is, in case a relative search +/// for system \#include's or not (i.e. using <> instead of ""). CurFileEnt, if +/// non-null, indicates where the \#including file is, in case a relative search /// is needed. const FileEntry *HeaderSearch::LookupFile( StringRef Filename, @@ -566,7 +566,7 @@ const FileEntry *HeaderSearch::LookupFile( } /// LookupSubframeworkHeader - Look up a subframework for the specified -/// #include file. For example, if #include'ing <HIToolbox/HIToolbox.h> from +/// \#include file. For example, if \#include'ing <HIToolbox/HIToolbox.h> from /// within ".../Carbon.framework/Headers/Carbon.h", check to see if HIToolbox /// is a subframework within Carbon.framework. If so, return the FileEntry /// for the designated file, otherwise return null. @@ -749,9 +749,6 @@ void HeaderSearch::setHeaderFileInfoForUID(HeaderFileInfo HFI, unsigned UID) { FileInfo[UID] = HFI; } -/// ShouldEnterIncludeFile - Mark the specified file as a target of of a -/// #include, #include_next, or #import directive. Return false if #including -/// the file will have no effect or true if we should include it. bool HeaderSearch::ShouldEnterIncludeFile(const FileEntry *File, bool isImport){ ++NumIncluded; // Count # of attempted #includes. @@ -1042,4 +1039,3 @@ void HeaderSearch::collectAllModules(llvm::SmallVectorImpl<Module *> &Modules) { Modules.push_back(M->getValue()); } } - |