Skip to content

This is the repository for clang-playground series.

Notifications You must be signed in to change notification settings

tompiercen/clang-playground

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clang-playground

This is the repository for clang-playground series.

I haven't follow LLVM/Clang for a long time, so this guide maybe not compile or outdated. Please take the code here for reference only.

How to Build

Clone LLVM source:
git clone http://llvm.org/git/llvm.git src

Clone Clang source:
git clone http://llvm.org/git/clang.git src/tools/clang

Clone clang-playground source:
git clone https://github.com/xinhuang/clang-playground.git src/tools/clang/tools/clang-playground

mkdir debug && cd debug
../src/configure
make -j

find-decl

Find all the declarations in a given file.

Tutor: Clang Playground: Finding Declarations, Clang Playground: The AST Matcher

About

This is the repository for clang-playground series.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 75.4%
  • Makefile 16.1%
  • CMake 8.5%