mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 10:06:40 -04:00
fccf is a command-line tool that quickly searches through C/C++ source code in a directory based on a search string and prints relevant code snippets that match the query. Highlights: * Quickly identifies source files that contain a search string. * For each candidate source file, builds an abstract syntax tree (AST). * Visits the nodes in the AST, looking for function declarations, classes, enums, variables etc., that match the user's request. * Pretty-prints the identified snippet of source code to the terminal. * MIT License WWW: https://github.com/p-ranav/fccf
12 lines
210 B
C++
12 lines
210 B
C++
--- source/utf8.cpp.orig 2022-04-29 07:01:48 UTC
|
|
+++ source/utf8.cpp
|
|
@@ -19,7 +19,9 @@
|
|
#if _WIN32
|
|
# include <malloc.h>
|
|
#else
|
|
+#ifndef __FreeBSD__
|
|
# include <alloca.h>
|
|
+#endif
|
|
#endif
|
|
|
|
#include <utf8.h>
|