[PATCH] D86508: [clang] consistently use getLangOpts()

Nick Desaulniers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 24 23:57:05 PDT 2020


nickdesaulniers updated this revision to Diff 287572.
nickdesaulniers added a comment.

- add more docs


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86508/new/

https://reviews.llvm.org/D86508

Files:
  clang/docs/LanguageExtensions.rst
  clang/test/Preprocessor/has_builtin.c


Index: clang/test/Preprocessor/has_builtin.c
===================================================================
--- clang/test/Preprocessor/has_builtin.c
+++ clang/test/Preprocessor/has_builtin.c
@@ -1,7 +1,6 @@
 // RUN: %clang_cc1 -verify -E %s
 // expected-no-diagnostics
 
-
 // TODO: fill out this file
 // Please sort by https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html.
 
Index: clang/docs/LanguageExtensions.rst
===================================================================
--- clang/docs/LanguageExtensions.rst
+++ clang/docs/LanguageExtensions.rst
@@ -2407,7 +2407,17 @@
 ----------------
 Clang provides support for builtins forms of the following functions from the C
 standard library headers ``<stdio.h>``:
+* ``fprintf``
+* ``fscanf``
+* ``printf``
+* ``putchar``
 * ``puts``
+* ``scanf``
+* ``sprintf``
+* ``sscanf``
+* ``vfprintf``
+* ``vprintf``
+* ``vsprintf``
 
 Memory builtins
 ---------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86508.287572.patch
Type: text/x-patch
Size: 928 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200825/83373573/attachment.bin>


More information about the cfe-commits mailing list