diff options
author | Eric Christopher <echristo@gmail.com> | 2017-02-10 00:20:26 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2017-02-10 00:20:26 +0000 |
commit | cdbfd0edb59900c46649ce5dacf31b3a3da28a3b (patch) | |
tree | fc3aa3f72ba50c351462a4c074a1d51e056f3036 /clang | |
parent | df4f4d45f0f25ab4f31536e136df3efb50a45dcf (diff) | |
download | bcm5719-llvm-cdbfd0edb59900c46649ce5dacf31b3a3da28a3b.tar.gz bcm5719-llvm-cdbfd0edb59900c46649ce5dacf31b3a3da28a3b.zip |
Update C style comments to C++ style.
llvm-svn: 294680
Diffstat (limited to 'clang')
-rw-r--r-- | clang/lib/CodeGen/MacroPPCallbacks.cpp | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/clang/lib/CodeGen/MacroPPCallbacks.cpp b/clang/lib/CodeGen/MacroPPCallbacks.cpp index a22cf093c8d..acea5c1143c 100644 --- a/clang/lib/CodeGen/MacroPPCallbacks.cpp +++ b/clang/lib/CodeGen/MacroPPCallbacks.cpp @@ -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) |