The location of a symbol equates to the declaration of the symbol. In C and C++, this would mean the header location (or forward declaration in a C file before the implementation).
If the symbol provider did not register this information, %NULL will be returned.
Like ide_symbol_get_declaration_location() but gets the first declaration (only one can be the definition).
Gets the location of the symbols "implementation". In C/C++ languages, you can have multiple declarations by only a single implementation.