]> granicus.if.org Git - clang/commitdiff
Convert comments to proper Doxygen comments.
authorDmitri Gribenko <gribozavr@gmail.com>
Fri, 8 Jun 2012 23:13:42 +0000 (23:13 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Fri, 8 Jun 2012 23:13:42 +0000 (23:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158241 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/ASTContext.h
include/clang/Basic/DiagnosticIDs.h
include/clang/Basic/FileSystemStatCache.h
include/clang/Basic/OperatorKinds.h
include/clang/Sema/CodeCompleteConsumer.h
lib/Rewrite/InclusionRewriter.cpp
lib/Sema/SemaCodeComplete.cpp

index 49f76fe180741d6bb9313e29bd9ff33449ef5ead..48001ba3e739c2af3bbafaa30ad979a158110db6 100644 (file)
@@ -1215,10 +1215,10 @@ public:
                                         const TemplateArgument &ArgPack) const;
   
   enum GetBuiltinTypeError {
-    GE_None,              //< No error
-    GE_Missing_stdio,     //< Missing a type from <stdio.h>
-    GE_Missing_setjmp,    //< Missing a type from <setjmp.h>
-    GE_Missing_ucontext   //< Missing a type from <ucontext.h>
+    GE_None,              ///< No error
+    GE_Missing_stdio,     ///< Missing a type from <stdio.h>
+    GE_Missing_setjmp,    ///< Missing a type from <setjmp.h>
+    GE_Missing_ucontext   ///< Missing a type from <ucontext.h>
   };
 
   /// GetBuiltinType - Return the type for the specified builtin.  If 
index a6c22db3e8d01c698f1e5bae68f0c4c465ee2f57..f00929d85b80b4e6c218bc51c1d5661bfc5d0b18 100644 (file)
@@ -63,10 +63,10 @@ namespace clang {
     /// one).
     enum Mapping {
       // NOTE: 0 means "uncomputed".
-      MAP_IGNORE  = 1,     //< Map this diagnostic to nothing, ignore it.
-      MAP_WARNING = 2,     //< Map this diagnostic to a warning.
-      MAP_ERROR   = 3,     //< Map this diagnostic to an error.
-      MAP_FATAL   = 4      //< Map this diagnostic to a fatal error.
+      MAP_IGNORE  = 1,     ///< Map this diagnostic to nothing, ignore it.
+      MAP_WARNING = 2,     ///< Map this diagnostic to a warning.
+      MAP_ERROR   = 3,     ///< Map this diagnostic to an error.
+      MAP_FATAL   = 4      ///< Map this diagnostic to a fatal error.
     };
   }
 
index 96a2f90ed1941b0968001d111862225cac0823eb..764ce92bcdfbb662c859da12870a5037acd5bdfb 100644 (file)
@@ -34,8 +34,8 @@ public:
   virtual ~FileSystemStatCache() {}
   
   enum LookupResult {
-    CacheExists,   //< We know the file exists and its cached stat data.
-    CacheMissing   //< We know that the file doesn't exist.
+    CacheExists,   ///< We know the file exists and its cached stat data.
+    CacheMissing   ///< We know that the file doesn't exist.
   };
 
   /// FileSystemStatCache::get - Get the 'stat' information for the specified
index c0a95051a72d09c31194cffd367868d9420ea993..492a6bae041bc5495909e2a3f95a003f6629514d 100644 (file)
@@ -19,7 +19,7 @@ namespace clang {
 /// OverloadedOperatorKind - Enumeration specifying the different kinds of
 /// C++ overloaded operators.
 enum OverloadedOperatorKind {
-  OO_None,                //< Not an overloaded operator
+  OO_None,                ///< Not an overloaded operator
 #define OVERLOADED_OPERATOR(Name,Spelling,Token,Unary,Binary,MemberOnly) \
   OO_##Name,
 #include "clang/Basic/OperatorKinds.def"
index 001beca9053a29ba3472f3dafe843b84073646fb..32ffaa92d62b8799a939cd806b36a3377117ba02 100644 (file)
@@ -638,10 +638,10 @@ class CodeCompletionResult {
 public:
   /// \brief Describes the kind of result generated.
   enum ResultKind {
-    RK_Declaration = 0, //< Refers to a declaration
-    RK_Keyword,         //< Refers to a keyword or symbol.
-    RK_Macro,           //< Refers to a macro
-    RK_Pattern          //< Refers to a precomputed pattern.
+    RK_Declaration = 0, ///< Refers to a declaration
+    RK_Keyword,         ///< Refers to a keyword or symbol.
+    RK_Macro,           ///< Refers to a macro
+    RK_Pattern          ///< Refers to a precomputed pattern.
   };
 
   /// \brief When Kind == RK_Declaration or RK_Pattern, the declaration we are
index 439d777f6c81fef5e539791fe703c1ffc37eb4b6..c6a4e24c7afc3be9055600e297aee2595c7eb3e6 100644 (file)
@@ -33,11 +33,11 @@ class InclusionRewriter : public PPCallbacks {
     FileChange(SourceLocation From) : From(From) {
     }
   };
-  Preprocessor &PP; //< Used to find inclusion directives.
-  SourceManager &SM; //< Used to read and manage source files.
-  raw_ostream &OS; //< The destination stream for rewritten contents.
-  bool ShowLineMarkers; //< Show #line markers.
-  bool UseLineDirective; //< Use of line directives or line markers.
+  Preprocessor &PP; ///< Used to find inclusion directives.
+  SourceManager &SM; ///< Used to read and manage source files.
+  raw_ostream &OS; ///< The destination stream for rewritten contents.
+  bool ShowLineMarkers; ///< Show #line markers.
+  bool UseLineDirective; ///< Use of line directives or line markers.
   typedef std::map<unsigned, FileChange> FileChangeMap;
   FileChangeMap FileChanges; /// Tracks which files were included where.
   /// Used transitively for building up the FileChanges mapping over the
index 50d3f30549bc79112e039771cff1e7594ca10916..f8a9b4c2d1ce11c435c1aa1692c53c9325ba7c77 100644 (file)
@@ -4620,9 +4620,9 @@ void Sema::CodeCompleteObjCPropertyFlags(Scope *S, ObjCDeclSpec &ODS) {
 /// \brief Descripts the kind of Objective-C method that we want to find
 /// via code completion.
 enum ObjCMethodKind {
-  MK_Any, //< Any kind of method, provided it means other specified criteria.
-  MK_ZeroArgSelector, //< Zero-argument (unary) selector.
-  MK_OneArgSelector //< One-argument selector.
+  MK_Any, ///< Any kind of method, provided it means other specified criteria.
+  MK_ZeroArgSelector, ///< Zero-argument (unary) selector.
+  MK_OneArgSelector ///< One-argument selector.
 };
 
 static bool isAcceptableObjCSelector(Selector Sel,