Author: echristo Date: Thu Feb 9 18:20:26 2017 New Revision: 294680 URL: http://llvm.org/viewvc/llvm-project?rev=294680&view=rev Log: Update C style comments to C++ style.
Modified: cfe/trunk/lib/CodeGen/MacroPPCallbacks.cpp Modified: cfe/trunk/lib/CodeGen/MacroPPCallbacks.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/MacroPPCallbacks.cpp?rev=294680&r1=294679&r2=294680&view=diff ============================================================================== --- cfe/trunk/lib/CodeGen/MacroPPCallbacks.cpp (original) +++ cfe/trunk/lib/CodeGen/MacroPPCallbacks.cpp Thu Feb 9 18:20:26 2017 @@ -61,19 +61,17 @@ void MacroPPCallbacks::writeMacroDefinit 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) _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits