'Code completion for standard headers not working when I changed the compiler

standard libraries like or or any other standard headers won't show up on code completion when I changed the compiler settings from gcc to clang. The compiler works but code completion no longer shows up standard libraries. How can I fix this. Edit::If I changed the compiler back from clang to gcc to clang, it'd work again.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source