The headers content of LLVM-3.5 in Ubuntu repository is different of the LLVM 3.5 official package.
Repeat the bug:
1. Download the llvm 3.5.0 from official site and untar
wget http://llvm.org/releases/3.5.0/clang+llvm-3.5.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz tar -xvf clang+llvm-3.5.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
2. Install llvm-3.5 with apt-get
sudo apt-get install llvm-3.5
3. The same header appears different
diff /usr/include/llvm-3.5/llvm/Support/MemoryBuffer.h Downloads/clang+llvm-3.5.0-x86_64-linux-gnu/include/llvm/Support/MemoryBuffer.h
The headers content of LLVM-3.5 in Ubuntu repository is different of the LLVM 3.5 official package.
Repeat the bug:
1. Download the llvm 3.5.0 from official site and untar
wget http:// llvm.org/ releases/ 3.5.0/clang+ llvm-3. 5.0-x86_ 64-linux- gnu-ubuntu- 14.04.tar. xz 3.5.0-x86_ 64-linux- gnu-ubuntu- 14.04.tar. xz
tar -xvf clang+llvm-
2. Install llvm-3.5 with apt-get
sudo apt-get install llvm-3.5
3. The same header appears different
diff /usr/include/ llvm-3. 5/llvm/ Support/ MemoryBuffer. h Downloads/ clang+llvm- 3.5.0-x86_ 64-linux- gnu/include/ llvm/Support/ MemoryBuffer. h