0x59616e created this revision. Herald added a project: All. 0x59616e requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits.
-cc1 is replaced by -Xclang. Update get_started.html to reflect this change. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D126947 Files: clang/www/get_started.html Index: clang/www/get_started.html =================================================================== --- clang/www/get_started.html +++ clang/www/get_started.html @@ -279,13 +279,13 @@ <h3>Pretty printing from the AST:</h3> -<p>Note, the <tt>-cc1</tt> argument indicates the compiler front-end, and +<p>Note, the <tt>-Xclang</tt> argument indicates the compiler front-end, and not the driver, should be run. The compiler front-end has several additional Clang specific features which are not exposed through the GCC compatible driver interface.</p> <pre class="code"> -$ <b>clang -cc1 ~/t.c -ast-print</b> +$ <b>clang -Xclang ~/t.c -ast-print</b> typedef float V __attribute__(( vector_size(16) )); V foo(V a, V b) { return a + b * a;
Index: clang/www/get_started.html =================================================================== --- clang/www/get_started.html +++ clang/www/get_started.html @@ -279,13 +279,13 @@ <h3>Pretty printing from the AST:</h3> -<p>Note, the <tt>-cc1</tt> argument indicates the compiler front-end, and +<p>Note, the <tt>-Xclang</tt> argument indicates the compiler front-end, and not the driver, should be run. The compiler front-end has several additional Clang specific features which are not exposed through the GCC compatible driver interface.</p> <pre class="code"> -$ <b>clang -cc1 ~/t.c -ast-print</b> +$ <b>clang -Xclang ~/t.c -ast-print</b> typedef float V __attribute__(( vector_size(16) )); V foo(V a, V b) { return a + b * a;
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits