mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-07 08:34:59 +00:00
cfee35b845
too low-level to actually be useful but is just interesting enough for people to try to use it (which won't actually work beyond toy examples). To bring back the AST printer, it needs to be: - Complete, covering all of C/C++/Objective-C - Documented, with appropriate Schema against which we can validate the output - Designed for C/C++/Objective-C, not Clang's specific ASTs - Stable across Clang versions - Well-tested llvm-svn: 127141
7 lines
180 B
C
7 lines
180 B
C
// RUN: %clang_cc1 -fsyntax-only %s
|
|
// RUN: %clang_cc1 -ast-print %s
|
|
// RUN: %clang_cc1 -ast-dump %s
|
|
// RUN: %clang_cc1 -print-decl-contexts %s
|
|
|
|
#include "c-language-features.inc"
|