This is a very stripped-down version of demo_nodes_cpp intended to demonstrate a bug in CLion with finding headers in rclcpp, among other ROS2 packages.
pjreed/clion-include-bug-example
Test case for demonstrating that CLion fails to find certain headers inside a Docker toolchain
C++