]> granicus.if.org Git - clang/commitdiff
Update C style comments to C++ style.
authorEric Christopher <echristo@gmail.com>
Fri, 10 Feb 2017 00:20:26 +0000 (00:20 +0000)
committerEric Christopher <echristo@gmail.com>
Fri, 10 Feb 2017 00:20:26 +0000 (00:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@294680 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MacroPPCallbacks.cpp

index a22cf093c8dbf3982e4ab749635147be5aaacf40..acea5c1143cf86016cfaa385a1e3c73d262be41f 100644 (file)
@@ -61,19 +61,17 @@ void MacroPPCallbacks::writeMacroDefinition(const IdentifierInfo &II,
 MacroPPCallbacks::MacroPPCallbacks(CodeGenerator *Gen, Preprocessor &PP)
     : Gen(Gen), PP(PP), Status(NoScope) {}
 
-/*
-  This is the expected flow of enter/exit compiler and user files:
-  - Main File Enter
-    - <built-in> file enter
-      {Compiler macro definitions} - (Line=0, no scope)
-      - (Optional) <command line> file enter
-      {Command line macro definitions} - (Line=0, no scope)
-      - (Optional) <command line> file exit
-      {Command line file includes} - (Line=0, Main file scope)
-        {macro definitions and file includes} - (Line!=0, Parent scope)
-    - <built-in> file exit
-    {User code macro definitions and file includes} - (Line!=0, Parent scope)
-*/
+// This is the expected flow of enter/exit compiler and user files:
+// - Main File Enter
+//   - <built-in> file enter
+//     {Compiler macro definitions} - (Line=0, no scope)
+//     - (Optional) <command line> file enter
+//     {Command line macro definitions} - (Line=0, no scope)
+//     - (Optional) <command line> file exit
+//     {Command line file includes} - (Line=0, Main file scope)
+//       {macro definitions and file includes} - (Line!=0, Parent scope)
+//   - <built-in> file exit
+//   {User code macro definitions and file includes} - (Line!=0, Parent scope)
 
 llvm::DIMacroFile *MacroPPCallbacks::getCurrentScope() {
   if (Status == MainFileScope || Status == CommandLineIncludeScope)